cdaadaef21c4c9052c67b3a0e9ceaab33e331ce8
[reactos.git] / dll / win32 / msafd / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(BEFORE include)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
6
7 spec2def(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.spec ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
8
9 list(APPEND SOURCE
10 msafd.rc
11 misc/dllmain.c
12 misc/event.c
13 misc/helpers.c
14 misc/sndrcv.c
15 misc/stubs.c)
16
17 add_library(msafd SHARED
18 ${CMAKE_CURRENT_BINARY_DIR}/msafd_msafd.h.gch
19 ${SOURCE})
20
21 set_module_type(msafd win32dll)
22
23 target_link_libraries(msafd ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
24
25 add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
26
27 add_importlibs(msafd advapi32 kernel32 ntdll)
28 add_dependencies(msafd msafd_def)
29 add_cab_target(msafd 1)