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