c3192af69791d0113d3b8ee009d89c5bcc34612e
[reactos.git] / drivers / filesystems / msfs / CMakeLists.txt
1
2 list(APPEND SOURCE
3 create.c
4 finfo.c
5 fsctrl.c
6 msfs.c
7 rw.c
8 msfs.rc)
9
10 add_library(msfs SHARED ${CMAKE_CURRENT_BINARY_DIR}/msfs_msfs.h.gch ${SOURCE})
11
12 set_target_properties(msfs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
13
14 add_importlibs(msfs ntoskrnl hal)
15 add_pch(msfs ${CMAKE_CURRENT_SOURCE_DIR}/msfs.h ${SOURCE})
16 add_dependencies(msfs psdk bugcodes)
17 add_livecd_target(msfs reactos/system32/drivers)