mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00

- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
31 lines
711 B
CMake
31 lines
711 B
CMake
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
set_rc_compiler()
|
|
|
|
spec2def(msacm32.dll msacm32.spec)
|
|
|
|
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 msvcrt advapi32 user32 winmm kernel32 ntdll)
|
|
add_dependencies(msacm32 psdk)
|
|
|
|
add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(msacm32.spec)
|
|
|
|
add_subdirectory(msacm32.drv)
|