[CMAKE]
[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 add_library(msgsm32.acm SHARED msgsm32.c msgsm32.def)
9
10 if(NOT MSVC)
11 set_source_files_properties(msgsm32.def PROPERTIES EXTERNAL_OBJECT TRUE)
12 endif()
13
14 set_entrypoint(msgsm32.acm 0)
15 set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
16
17 target_link_libraries(msgsm32.acm wine)
18
19 add_importlibs(msgsm32.acm winmm user32 msvcrt kernel32 ntdll)
20 add_dependencies(msgsm32.acm psdk buildno_header)
21 add_cab_target(msgsm32.acm 1)