mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00

Re-trial of #7800. Deleting __WINESRC__ hacks. JIRA issue: CORE-5743 - Add sdk/cmake/set_wine_module.cmake. - Load set_wine_module.cmake at top-level CMakeLists.txt. - Use set_wine_module cmake function and delete __WINESRC__ as possible. - Delete many include_directories.
25 lines
679 B
CMake
25 lines
679 B
CMake
|
|
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
|
|
precomp.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c)
|
|
|
|
add_library(msacm32 MODULE
|
|
${SOURCE}
|
|
msacm.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
|
|
|
|
set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
|
|
target_link_libraries(msacm32 wine oldnames)
|
|
add_importlibs(msacm32 advapi32 user32 winmm msvcrt kernel32 ntdll)
|
|
add_pch(msacm32 precomp.h SOURCE)
|
|
add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
|
|
set_wine_module_FIXME(msacm32) # CORE-5743: No ARRAY_SIZE macro
|