2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(midimap.dll midimap.spec)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(midimap MODULE
|
2011-05-16 13:12:07 +00:00
|
|
|
midimap.c
|
|
|
|
midimap.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(midimap win32dll UNICODE)
|
2020-09-18 09:49:18 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
# error C4133: 'function': incompatible types - from 'LPDWORD' to 'DWORD_PTR *'
|
|
|
|
remove_target_compile_option(midimap "/we4133")
|
|
|
|
endif()
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(midimap uuid wine)
|
2013-02-23 18:07:51 +00:00
|
|
|
add_importlibs(midimap advapi32 user32 winmm msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all)
|