1 2spec2def(beepmidi.dll beepmidi.spec) 3 4list(APPEND SOURCE 5 beepmidi.c 6 ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def) 7 8add_library(beepmidi MODULE ${SOURCE}) 9set_module_type(beepmidi win32dll UNICODE) 10add_importlibs(beepmidi winmm msvcrt kernel32 ntdll) 11add_cd_file(TARGET beepmidi DESTINATION reactos/system32 FOR all) 12