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