xref: /reactos/dll/win32/msacm32/CMakeLists.txt (revision 7eead935)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    driver.c
8    filter.c
9    format.c
10    internal.c
11    msacm32_main.c
12    pcmconverter.c
13    stream.c
14    precomp.h
15    ${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c)
16
17add_library(msacm32 MODULE
18    ${SOURCE}
19    msacm.rc
20    ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
21
22set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
23target_link_libraries(msacm32 wine)
24add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll)
25add_pch(msacm32 precomp.h SOURCE)
26add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
27