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