2010-09-04 12:57:01 +00:00
|
|
|
|
2010-09-18 15:22:08 +00:00
|
|
|
|
2010-09-04 12:57:01 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cdfs.c
|
|
|
|
cleanup.c
|
|
|
|
close.c
|
|
|
|
common.c
|
|
|
|
create.c
|
2010-09-20 17:27:52 +00:00
|
|
|
devctrl.c
|
2010-09-04 12:57:01 +00:00
|
|
|
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
|
2010-09-17 20:27:01 +00:00
|
|
|
-lntoskrnl
|
|
|
|
-lhal)
|
2010-09-04 12:57:01 +00:00
|
|
|
|
|
|
|
add_pch(cdfs ${CMAKE_CURRENT_SOURCE_DIR}/cdfs.h ${SOURCE})
|
|
|
|
add_dependencies(cdfs psdk bugcodes)
|
2010-10-09 13:54:36 +00:00
|
|
|
add_minicd_target(cdfs reactos cdfs.sys)
|