[CMAKE]
[reactos.git] / dll / win32 / msgsm32.acm / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3 add_definitions(-D__WINESRC__)
4
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(msgsm32.acm msgsm32.acm.spec)
8
9 add_library(msgsm32.acm SHARED msgsm32.c
10 ${CMAKE_CURRENT_BINARY_DIR}/msgsm32.def)
11
12 set_entrypoint(msgsm32.acm 0)
13 set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
14
15 target_link_libraries(msgsm32.acm wine)
16
17 add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)
18 add_dependencies(msgsm32.acm psdk buildno_header)
19 add_cab_target(msgsm32.acm 1)