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