[ACLEDIT][ATL][ATL80][FLTMGR] Get the def files out of the source files lists. #179
[reactos.git] / drivers / filters / fltmgr / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/fltmgr
4 includes)
5
6 spec2def(fltmgr.sys fltmgr.spec ADD_IMPORTLIB)
7
8 list(APPEND SOURCE
9 Context.c
10 Dispatch.c
11 Filter.c
12 Interface.c
13 Lib.c
14 Messaging.c
15 Misc.c
16 Object.c
17 Registry.c
18 Volume.c
19 fltmgr.h)
20
21 add_library(fltmgr SHARED
22 ${SOURCE}
23 fltmgr.rc
24 ${CMAKE_CURRENT_BINARY_DIR}/fltmgr.def)
25
26 set_module_type(fltmgr kernelmodedriver)
27 target_link_libraries(fltmgr ${PSEH_LIB})
28 add_importlibs(fltmgr ntoskrnl hal)
29 add_target_compile_definitions(fltmgr NTDDI_VERSION=NTDDI_WS03SP1)
30 add_pch(fltmgr fltmgr.h SOURCE)
31 add_cd_file(TARGET fltmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)