Mercurial > hg > CbC > CbC_xv6
diff src/usr/CMakeLists.txt @ 111:239bd73abac6
add gen context.h at generate_context.pl
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 28 Nov 2019 12:17:05 +0900 |
parents | 0956648d24e5 |
children | 124c59d99fc9 |
line wrap: on
line diff
--- a/src/usr/CMakeLists.txt Wed Nov 27 21:21:42 2019 +0900 +++ b/src/usr/CMakeLists.txt Thu Nov 28 12:17:05 2019 +0900 @@ -65,7 +65,7 @@ add_custom_command ( OUTPUT ${_Gears_TARGET}.dir/c/${_Gears_TARGET}-context.c DEPENDS ${_Gears_CBC_SOURCES} - COMMAND "cd" "${_Gears_TARGET}.dir" ";" "perl" "${CMAKE_SOURCE_DIR}/gearsTools/generate_context.pl" "-o" ${_Gears_TARGET} ${CMAKE_SOURCE_DIR}/usr/${_Gears_CSOURCES} + COMMAND "cd" "${_Gears_TARGET}.dir" ";" "perl" "${CMAKE_SOURCE_DIR}/gearsTools/generate_context.pl" "-o" ${_Gears_TARGET} "-w" ${CMAKE_SOURCE_DIR}/usr/${_Gears_CSOURCES} ) add_executable(${_Gears_TARGET} ${_Gears_CBC_SOURCES} ${_Gears_CSOURCES} ${_Gears_TARGET}.dir/c/${_Gears_TARGET}-context.c ) target_link_libraries(${_Gears_TARGET} ulib)