[CMAKE]
[reactos.git] / dll / win32 / winmm / midimap / CMakeLists.txt
1
2 add_definitions(-DUNICODE -D_UNICODE)
3
4 spec2def(midimap.dll midimap.spec)
5
6 add_library(midimap SHARED
7 midimap.c
8 midimap.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/midimap.def)
10
11 set_entrypoint(midimap 0)
12
13 target_link_libraries(midimap uuid wine)
14
15 add_importlibs(midimap advapi32 user32 winmm kernel32 ntdll)
16 add_dependencies(midimap psdk)
17 add_cd_file(TARGET midimap DESTINATION reactos/system32 FOR all)
18