1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(mciseq.dll mciseq.spec) 5 6list(APPEND SOURCE 7 mcimidi.c 8 ${CMAKE_CURRENT_BINARY_DIR}/mciseq.def) 9 10add_library(mciseq MODULE ${SOURCE}) 11set_module_type(mciseq win32dll) 12target_link_libraries(mciseq wine) 13add_importlibs(mciseq winmm user32 msvcrt kernel32 ntdll) 14add_cd_file(TARGET mciseq DESTINATION reactos/system32 FOR all) 15 16if(NOT MSVC) 17 target_compile_options(mciseq PRIVATE "-Wno-overflow") 18endif() 19