comparison src/CMakeLists.txt @ 126:99be03babde3

copy debug scripts from cmake sources
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 03 Dec 2019 09:42:38 +0900
parents 239bd73abac6
children 8e93917ce4be
comparison
equal deleted inserted replaced
125:f103beea19f4 126:99be03babde3
115 OUTPUT "initcode" 115 OUTPUT "initcode"
116 DEPENDS initcode.o 116 DEPENDS initcode.o
117 COMMAND "${XV6_OBJCOPY}" "-S" "-O" "binary" "--prefix-symbols=\"_binary_build/initcode\"" "${CMAKE_BEFORE_PROJECT_PATH}/kernel.dir/initcode.o" "initcode" 117 COMMAND "${XV6_OBJCOPY}" "-S" "-O" "binary" "--prefix-symbols=\"_binary_build/initcode\"" "${CMAKE_BEFORE_PROJECT_PATH}/kernel.dir/initcode.o" "initcode"
118 ) 118 )
119 #file(COPY "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/initcode.o.dir/initcode" DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) 119 #file(COPY "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/initcode.o.dir/initcode" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
120 file(COPY "${CMAKE_SOURCE_DIR}/debug.sh" "${CMAKE_SOURCE_DIR}/run-debug.sh" "${CMAKE_SOURCE_DIR}/connect.gdb" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
120 121
121 122
122 GearsCommand ( 123 GearsCommand (
123 TARGET 124 TARGET
124 kernel 125 kernel