0bd6304a18c76609b2918b514f0884fc518998f6
[reactos.git] / dll / win32 / msacm32 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(msacm32 ${CMAKE_CURRENT_SOURCE_DIR}/msacm32.spec ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
8
9 add_library(msacm32 SHARED
10 driver.c
11 filter.c
12 format.c
13 internal.c
14 msacm32_main.c
15 pcmconverter.c
16 stream.c)
17
18 set_module_type(msacm32 win32dll)
19
20 target_link_libraries(msacm32
21 ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def
22 wine)
23
24 add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
25 add_dependencies(msacm32 msacm32_def)
26
27 add_subdirectory(msacm32.drv)
28 add_livecd_target(msacm32 reactos/system32)