2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
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})
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(mciwave win32dll)
|
2011-09-04 17:32:30 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
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)
|
2011-09-04 17:32:30 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2014-03-26 11:08:45 +00:00
|
|
|
add_target_compile_flags(mciwave "-Wno-error=overflow")
|
2011-09-04 17:32:30 +00:00
|
|
|
endif()
|