mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
c2d0d784c7
- 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
25 lines
558 B
CMake
25 lines
558 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_WINE)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mciwave.dll mciwave.spec)
|
|
|
|
list(APPEND SOURCE
|
|
mciwave.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
|
|
|
|
add_library(mciwave SHARED ${SOURCE})
|
|
|
|
set_module_type(mciwave win32dll ENTRYPOINT 0)
|
|
|
|
target_link_libraries(mciwave wine)
|
|
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
|
|
add_dependencies(mciwave psdk)
|
|
add_cd_file(TARGET mciwave DESTINATION reactos/system32 FOR all)
|
|
|
|
if(NOT MSVC)
|
|
allow_warnings(mciwave)
|
|
endif()
|