mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +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
14 lines
468 B
CMake
14 lines
468 B
CMake
|
|
list(APPEND SOURCE
|
|
initvga.c
|
|
vgamp.c
|
|
vgamp.rc)
|
|
|
|
add_library(vgamp SHARED ${CMAKE_CURRENT_BINARY_DIR}/vgamp_vgamp.h.gch ${SOURCE})
|
|
|
|
set_target_properties(vgamp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
|
|
|
add_importlibs(vgamp videoprt)
|
|
add_pch(vgamp ${CMAKE_CURRENT_SOURCE_DIR}/vgamp.h ${SOURCE})
|
|
add_dependencies(vgamp psdk bugcodes)
|
|
add_cab_target(vgamp 2) |