mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 09:09:53 +00:00
fd5ef6b1c1
- 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
30 lines
696 B
CMake
30 lines
696 B
CMake
|
|
set_unicode()
|
|
|
|
include_directories(BEFORE include)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
|
|
|
spec2def(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.spec ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
|
|
|
|
list(APPEND SOURCE
|
|
msafd.rc
|
|
misc/dllmain.c
|
|
misc/event.c
|
|
misc/helpers.c
|
|
misc/sndrcv.c
|
|
misc/stubs.c)
|
|
|
|
add_library(msafd SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/msafd_msafd.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(msafd win32dll)
|
|
|
|
target_link_libraries(msafd ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
|
|
|
|
add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
|
|
|
|
add_importlibs(msafd advapi32 kernel32 ntdll)
|
|
add_dependencies(msafd msafd_def)
|
|
add_cab_target(msafd 1)
|