xref: /reactos/dll/win32/winmm/midimap/CMakeLists.txt (revision 8a92b556)
1
2spec2def(midimap.dll midimap.spec)
3
4add_library(midimap MODULE
5    midimap.c
6    midimap.rc
7    ${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
8
9set_module_type(midimap win32dll UNICODE)
10
11if(MSVC)
12    # error C4133: 'function': incompatible types - from 'LPDWORD' to 'DWORD_PTR *'
13    remove_target_compile_option(midimap "/we4133")
14endif()
15
16target_link_libraries(midimap uuid wine)
17add_importlibs(midimap advapi32 user32 winmm msvcrt kernel32 ntdll)
18add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all)
19