1 2spec2def(midimap.dll midimap.spec) 3 4add_library(midimap SHARED 5 midimap.c 6 midimap.rc 7 ${CMAKE_CURRENT_BINARY_DIR}/midimap.def) 8 9set_module_type(midimap win32dll UNICODE) 10target_link_libraries(midimap uuid wine) 11add_importlibs(midimap advapi32 user32 winmm msvcrt kernel32 ntdll) 12add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all) 13