mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

- add macros add_cab and add_cab_target to add files to reactos.dff - add bootcd target - make use of these macros to create bootcd and livecd Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!! svn path=/branches/cmake-bringup/; revision=49347
35 lines
568 B
CMake
35 lines
568 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
spec2def(mmsys ${CMAKE_CURRENT_SOURCE_DIR}/mmsys.spec ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
|
|
|
|
add_library(mmsys SHARED
|
|
mmsys.c
|
|
sounds.c
|
|
volume.c
|
|
audio.c
|
|
voice.c
|
|
mmsys.rc)
|
|
|
|
set_module_type(mmsys cpl)
|
|
|
|
target_link_libraries(mmsys ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
|
|
|
|
add_importlibs(mmsys
|
|
msvcrt
|
|
user32
|
|
comctl32
|
|
devmgr
|
|
gdi32
|
|
winmm
|
|
advapi32
|
|
shell32
|
|
setupapi
|
|
shlwapi
|
|
ntdll
|
|
kernel32)
|
|
|
|
add_dependencies(mmsys mmsys_def)
|
|
add_cab_target(mmsys 1)
|