[CMAKE]
[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.dll msafd.spec)
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 ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
17
18 add_library(msafd SHARED
19 ${CMAKE_CURRENT_BINARY_DIR}/msafd_msafd.h.gch
20 ${SOURCE})
21
22 set_module_type(msafd win32dll)
23
24 add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
25
26 add_importlibs(msafd advapi32 kernel32 ntdll)
27
28 add_cab_target(msafd 1)