mirror of
https://github.com/reactos/reactos.git
synced 2024-09-04 01:29:31 +00:00
19 lines
510 B
CMake
19 lines
510 B
CMake
|
|
spec2def(midimap.dll midimap.spec)
|
|
|
|
add_library(midimap MODULE
|
|
midimap.c
|
|
midimap.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
|
|
|
|
set_module_type(midimap win32dll UNICODE)
|
|
|
|
if(MSVC)
|
|
# error C4133: 'function': incompatible types - from 'LPDWORD' to 'DWORD_PTR *'
|
|
remove_target_compile_option(midimap "/we4133")
|
|
endif()
|
|
|
|
target_link_libraries(midimap uuid wine)
|
|
add_importlibs(midimap advapi32 user32 winmm msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all)
|