mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
[CMAKE]
- Improve more drivers. svn path=/branches/cmake-bringup/; revision=49469
This commit is contained in:
parent
bbecbe25fc
commit
a7fe68d16b
31 changed files with 107 additions and 176 deletions
|
@ -1,6 +1,4 @@
|
|||
|
||||
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
||||
|
||||
list(APPEND SOURCE
|
||||
|
@ -21,13 +19,10 @@ list(APPEND SOURCE
|
|||
|
||||
add_library(cdfs SHARED ${CMAKE_CURRENT_BINARY_DIR}/cdfs_cdfs.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(cdfs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(cdfs
|
||||
-lntoskrnl
|
||||
-lhal)
|
||||
set_module_type(cdfs kernelmodedriver)
|
||||
add_importlibs(cdfs ntoskrnl hal)
|
||||
|
||||
add_pch(cdfs ${CMAKE_CURRENT_SOURCE_DIR}/cdfs.h ${SOURCE})
|
||||
add_dependencies(cdfs psdk bugcodes)
|
||||
|
||||
add_minicd_target(cdfs reactos cdfs.sys)
|
||||
add_livecd_target(cdfs reactos/system32/drivers cdfs.sys)
|
||||
add_livecd_target(cdfs reactos/system32/drivers cdfs.sys)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue