[MSACM32.DRV] Move to dll/win32.
[reactos.git] / reactos / dll / win32 / msacm32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
4
5 list(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 wineacm.h
14 ${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c)
15
16 add_library(msacm32 SHARED
17 ${SOURCE}
18 msacm.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
20
21 set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
22 target_link_libraries(msacm32 wine)
23 add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll)
24 add_pch(msacm32 wineacm.h SOURCE)
25 add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)