f41b48e9e3bfe5858720f19ada9e12f27ccc1854
[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 list(APPEND SOURCE
9 msafd.rc
10 misc/dllmain.c
11 misc/event.c
12 misc/helpers.c
13 misc/sndrcv.c
14 misc/stubs.c
15 msafd.def)
16
17 if(NOT MSVC)
18 set_source_files_properties(msafd.def PROPERTIES EXTERNAL_OBJECT TRUE)
19 endif()
20
21 add_library(msafd SHARED
22 ${CMAKE_CURRENT_BINARY_DIR}/msafd_msafd.h.gch
23 ${SOURCE})
24
25 set_module_type(msafd win32dll)
26
27 add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
28
29 add_importlibs(msafd advapi32 kernel32 ntdll)
30
31 add_cab_target(msafd 1)