2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
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(mciseq.dll mciseq.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
mcimidi.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mciseq.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mciseq MODULE ${SOURCE})
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(mciseq win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(mciseq wine)
|
2013-09-21 13:01:56 +00:00
|
|
|
add_importlibs(mciseq winmm user32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all)
|
2011-09-04 17:32:30 +00:00
|
|
|
|
2021-06-29 08:03:28 +00:00
|
|
|
if(MSVC)
|
|
|
|
# Disable warning C4305: '=': truncation from 'UINT' to 'WORD'
|
|
|
|
target_compile_options(mciseq PRIVATE /wd4305)
|
|
|
|
else()
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(mciseq PRIVATE "-Wno-overflow")
|
2011-09-04 17:32:30 +00:00
|
|
|
endif()
|