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