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