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