mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
53 lines
2.5 KiB
CMake
53 lines
2.5 KiB
CMake
##bootcd
|
|
#clear it out
|
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bootcd.cmake
|
|
"file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bootcd)\n")
|
|
|
|
add_custom_target(bootcd
|
|
${CMAKE_COMMAND} -D CD_DIR=${CMAKE_CURRENT_BINARY_DIR}/bootcd
|
|
-P ${CMAKE_CURRENT_BINARY_DIR}/bootcd.cmake
|
|
COMMAND native-cdmake -v -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin ${CMAKE_CURRENT_BINARY_DIR}/bootcd REACTOS ${REACTOS_BINARY_DIR}/bootcd.iso
|
|
DEPENDS native-cdmake
|
|
VERBATIM)
|
|
|
|
##bootcdregtest
|
|
#clear it out
|
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest.cmake
|
|
"file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest)\n")
|
|
|
|
add_custom_target(bootcdregtest
|
|
${CMAKE_COMMAND} -D CD_DIR=${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest
|
|
-P ${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest.cmake
|
|
COMMAND native-cdmake -v -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isobtrt.bin ${CMAKE_CURRENT_BINARY_DIR}/bootcdregtest REACTOS ${REACTOS_BINARY_DIR}/bootcdregtest.iso
|
|
DEPENDS native-cdmake
|
|
VERBATIM)
|
|
|
|
|
|
##livecd
|
|
#clear it out
|
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd)\n")
|
|
#create profiles directories too
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles)\n")
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/All Users\")\n")
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/All Users/Desktop\")\n")
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default User\")\n")
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default User/Desktop\")\n")
|
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
"file(MAKE_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/livecd/Profiles/Default User/My Documents\")\n")
|
|
|
|
add_custom_target(livecd
|
|
${CMAKE_COMMAND} -D CD_DIR=${CMAKE_CURRENT_BINARY_DIR}/livecd
|
|
-P ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake
|
|
COMMAND native-cdmake -v -j -m -b ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin ${CMAKE_CURRENT_BINARY_DIR}/livecd REACTOS ${REACTOS_BINARY_DIR}/livecd.iso
|
|
DEPENDS native-cdmake
|
|
VERBATIM)
|
|
|
|
add_subdirectory(freeldr)
|
|
add_subdirectory(bootdata)
|