mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
da55a789c3
Add minicd target. This partial bootcd target produces a minicd iso, able to start the install process to the cabinet installation page. svn path=/branches/cmake-bringup/; revision=49072
24 lines
No EOL
626 B
CMake
24 lines
No EOL
626 B
CMake
|
|
|
|
|
|
spec2def(kdcom ${CMAKE_CURRENT_SOURCE_DIR}/kdcom.spec ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE i386/kdbg.c)
|
|
elseif(ARCH MATCHES amd64)
|
|
list(APPEND SOURCE i386/kdbg.c)
|
|
elseif(ARCH MATCHES arm)
|
|
list(APPEND SOURCE arm/kdbg.c)
|
|
endif(ARCH MATCHES i386)
|
|
|
|
add_library(kdcom SHARED ${SOURCE})
|
|
|
|
set_target_properties(kdcom PROPERTIES LINK_FLAGS "-Wl,-entry,0 -Wl,--image-base,0x00010000")
|
|
|
|
target_link_libraries(kdcom
|
|
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def
|
|
-lntoskrnl
|
|
-lhal)
|
|
|
|
add_dependencies(kdcom kdcom_def psdk buildno_header bugcodes)
|
|
add_minicd_target(kdcom reactos kdcom.dll) |