This really needs to go in a branch. It needs heavy testing and can't coincide with...
[reactos.git] / dll / win32 / msgsm32.acm / CMakeLists.txt
1
2 add_definitions(
3 -D_DLL -D__USE_CRTIMP
4 -D__WINESRC__)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(msgsm32.acm msgsm32.acm.spec)
9
10 list(APPEND SOURCE
11 msgsm32.c
12 ${CMAKE_CURRENT_BINARY_DIR}/msgsm32.def)
13
14 add_library(msgsm32.acm SHARED ${SOURCE})
15
16 set_entrypoint(msgsm32.acm 0)
17 set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
18
19 target_link_libraries(msgsm32.acm wine)
20
21 add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)
22 add_dependencies(msgsm32.acm psdk)
23 add_cd_file(TARGET msgsm32.acm DESTINATION reactos/system32 FOR all)