mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 00:30:58 +00:00
[CMAKE]
Use msvc friendly macro. Add network drivers to livecd. svn path=/branches/cmake-bringup/; revision=49263
This commit is contained in:
parent
9fad2797d5
commit
394ca95775
5 changed files with 14 additions and 5 deletions
|
@ -19,7 +19,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(afd SHARED ${CMAKE_CURRENT_BINARY_DIR}/afd_afd.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(afd PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
set_module_type(afd kernelmodedriver)
|
||||
|
||||
target_link_libraries(afd
|
||||
pseh
|
||||
|
@ -28,4 +28,5 @@ target_link_libraries(afd
|
|||
|
||||
add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
|
||||
add_dependencies(afd psdk bugcodes buildno_header)
|
||||
|
||||
add_livecd_target(afd reactos/system32/drivers)
|
|
@ -8,7 +8,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(ne2000 SHARED ${SOURCE})
|
||||
|
||||
set_target_properties(ne2000 PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
set_module_type(ne2000 kernelmodedriver)
|
||||
|
||||
target_link_libraries(ne2000
|
||||
-lndis
|
||||
|
@ -16,3 +16,5 @@ target_link_libraries(ne2000
|
|||
-lhal)
|
||||
|
||||
add_dependencies(ne2000 psdk bugcodes buildno_header)
|
||||
|
||||
add_livecd_target(ne2000 reactos/system32/drivers)
|
|
@ -11,7 +11,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(pcnet SHARED ${SOURCE})
|
||||
|
||||
set_target_properties(pcnet PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
set_module_type(pcnet kernelmodedriver)
|
||||
|
||||
target_link_libraries(pcnet
|
||||
-lndis
|
||||
|
@ -19,3 +19,5 @@ target_link_libraries(pcnet
|
|||
-lhal)
|
||||
|
||||
add_dependencies(pcnet psdk bugcodes buildno_header)
|
||||
|
||||
add_livecd_target(pcnet reactos/system32/drivers)
|
|
@ -25,7 +25,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(tcpip SHARED ${CMAKE_CURRENT_BINARY_DIR}/tcpip_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(tcpip PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
set_module_type(tcpip kernelmodedriver)
|
||||
|
||||
target_link_libraries(tcpip
|
||||
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def
|
||||
|
@ -39,3 +39,5 @@ target_link_libraries(tcpip
|
|||
|
||||
add_pch(tcpip ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
|
||||
add_dependencies(tcpip tcpip_def psdk bugcodes buildno_header)
|
||||
|
||||
add_livecd_target(tcpip reactos/system32/drivers)
|
|
@ -19,7 +19,7 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(tdi SHARED ${SOURCE})
|
||||
|
||||
set_target_properties(tdi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
set_module_type(tdi kernelmodedriver)
|
||||
|
||||
target_link_libraries(tdi
|
||||
${CMAKE_CURRENT_BINARY_DIR}/tdi.def
|
||||
|
@ -27,3 +27,5 @@ target_link_libraries(tdi
|
|||
-lhal)
|
||||
|
||||
add_dependencies(tdi tdi_def psdk bugcodes buildno_header)
|
||||
|
||||
add_livecd_target(tdi reactos/system32/drivers)
|
Loading…
Reference in a new issue