mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 14:44:19 +00:00
25445ea35f
svn path=/branches/ntvdm/; revision=60692
22 lines
635 B
CMake
22 lines
635 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
driver.c
|
|
filter.c
|
|
format.c
|
|
internal.c
|
|
msacm32_main.c
|
|
pcmconverter.c
|
|
stream.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
|
|
|
|
add_library(msacm32 SHARED ${SOURCE})
|
|
set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
|
|
target_link_libraries(msacm32 wine)
|
|
add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
|
|
|
|
add_subdirectory(msacm32.drv)
|