[CMAKE]
[reactos.git] / dll / win32 / msg711.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(msg711.acm msg711.acm.spec)
9
10 list(APPEND SOURCE
11 msg711.c
12 ${CMAKE_CURRENT_BINARY_DIR}/msg711.def)
13
14 add_library(msg711.acm SHARED ${SOURCE})
15
16 set_entrypoint(msg711.acm 0)
17 set_target_properties(msg711.acm PROPERTIES SUFFIX "")
18
19 target_link_libraries(msg711.acm wine)
20 add_importlibs(msg711.acm winmm user32 msvcrt kernel32 ntdll)
21 add_dependencies(msg711.acm psdk)
22 add_cd_file(TARGET msg711.acm DESTINATION reactos/system32 FOR all)