2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
driver.c
|
|
|
|
filter.c
|
|
|
|
format.c
|
|
|
|
internal.c
|
|
|
|
msacm32_main.c
|
|
|
|
pcmconverter.c
|
|
|
|
stream.c
|
2014-02-10 12:19:56 +00:00
|
|
|
wineacm.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c)
|
|
|
|
|
|
|
|
add_library(msacm32 SHARED
|
|
|
|
${SOURCE}
|
2014-10-01 10:36:12 +00:00
|
|
|
msacm.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(msacm32 wine)
|
2013-09-21 14:16:27 +00:00
|
|
|
add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(msacm32 wineacm.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
|