2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_WINE)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(mciwave.dll mciwave.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mciwave.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mciwave MODULE ${SOURCE})
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(mciwave win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(mciwave wine)
|
|
|
|
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET mciwave DESTINATION reactos/system32 FOR all)
|
2011-09-04 17:32:30 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2015-04-19 08:39:58 +00:00
|
|
|
add_target_compile_flags(mciwave "-Wno-overflow")
|
2011-09-04 17:32:30 +00:00
|
|
|
endif()
|