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