mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
b7e466a220
Livecd: Add drivers. svn path=/branches/cmake-bringup/; revision=49222
33 lines
No EOL
760 B
CMake
33 lines
No EOL
760 B
CMake
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
|
|
|
list(APPEND SOURCE
|
|
cdfs.c
|
|
cleanup.c
|
|
close.c
|
|
common.c
|
|
create.c
|
|
devctrl.c
|
|
dirctl.c
|
|
fcb.c
|
|
finfo.c
|
|
fsctl.c
|
|
misc.c
|
|
rw.c
|
|
volinfo.c
|
|
cdfs.rc)
|
|
|
|
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)
|
|
|
|
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) |