mirror of
https://github.com/reactos/reactos.git
synced 2024-10-09 10:48:55 +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
18 lines
490 B
CMake
18 lines
490 B
CMake
|
|
spec2def(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/sfc_os.spec ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
|
|
|
|
list(APPEND SOURCE sfc_os.c)
|
|
|
|
add_library(sfc_os SHARED
|
|
${CMAKE_CURRENT_BINARY_DIR}/sfc_os_precomp.h.gch
|
|
${SOURCE})
|
|
|
|
set_module_type(sfc_os win32dll)
|
|
|
|
target_link_libraries(sfc_os ${CMAKE_CURRENT_BINARY_DIR}/sfc_os.def)
|
|
|
|
add_importlibs(sfc_os kernel32 ntdll)
|
|
add_pch(sfc_os ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
add_dependencies(sfc_os sfc_os_def)
|
|
add_cab_target(sfc_os 1)
|