X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fwinmm%2Fmidimap%2FCMakeLists.txt;h=8589e472aa6ac1cc0fdc2bed2af62762c737aaa8;hp=e1561dc942ba40d1a4d3636440789ce3ce8012df;hb=53fbd8e18538e430a677ca80bb451f70e5652eea;hpb=b2f64ac5520f3e2ae376217d60a09fff272f869e diff --git a/dll/win32/winmm/midimap/CMakeLists.txt b/dll/win32/winmm/midimap/CMakeLists.txt index e1561dc942b..8589e472aa6 100644 --- a/dll/win32/winmm/midimap/CMakeLists.txt +++ b/dll/win32/winmm/midimap/CMakeLists.txt @@ -1,16 +1,18 @@ add_definitions(-DUNICODE -D_UNICODE) -spec2def(midimap ${CMAKE_CURRENT_SOURCE_DIR}/midimap.spec ${CMAKE_CURRENT_BINARY_DIR}/midimap.def) +spec2def(midimap.dll midimap.spec) -add_library(midimap SHARED midimap.c midimap.rc) +add_library(midimap SHARED + midimap.c + midimap.rc + ${CMAKE_CURRENT_BINARY_DIR}/midimap.def) set_entrypoint(midimap 0) -target_link_libraries(midimap - ${CMAKE_CURRENT_BINARY_DIR}/midimap.def - wine) +target_link_libraries(midimap uuid wine) + +add_importlibs(midimap advapi32 user32 winmm kernel32 ntdll) +add_dependencies(midimap psdk) +add_cd_file(TARGET midimap DESTINATION reactos/system32) -add_importlibs(midimap kernel32 uuid ntdll advapi32 user32 winmm) -add_dependencies(midimap midimap_def psdk) -add_livecd_target(midimap reactos/system32) \ No newline at end of file