2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
set_unicode()
|
2010-08-22 00:52:26 +00:00
|
|
|
|
|
|
|
spec2def(beepmidi ${CMAKE_CURRENT_SOURCE_DIR}/beepmidi.spec ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
|
|
|
|
|
|
|
|
add_library(beepmidi SHARED beepmidi.c)
|
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
set_entrypoint(beepmidi 0)
|
2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
target_link_libraries(beepmidi ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
|
2010-08-22 00:52:26 +00:00
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
add_importlibs(beepmidi winmm kernel32 ntdll)
|
2010-08-22 00:52:26 +00:00
|
|
|
add_dependencies(beepmidi beepmidi_def psdk)
|