Mercurial > hg > Members > anatofuz > CbC_xv6
diff src/usr/CMakeLists.txt @ 87:add5e775339c
tweak origin-context.h to context.t
author | anatofuz |
---|---|
date | Tue, 15 Oct 2019 20:13:25 +0900 |
parents | 765449889623 |
children | d876c9a65239 |
line wrap: on
line diff
--- a/src/usr/CMakeLists.txt Tue Oct 15 20:03:48 2019 +0900 +++ b/src/usr/CMakeLists.txt Tue Oct 15 20:13:25 2019 +0900 @@ -43,8 +43,7 @@ list(APPEND _Gears_CBC_SOURCES ${j}) else() set(j ${i}) - file(COPY "${CMAKE_SOURCE_DIR}/origin-context.h" DESTINATION "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir") - file(RENAME "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir/origin-context.h" "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir/context.h") + file(COPY "${CMAKE_SOURCE_DIR}/context.h" DESTINATION "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir") list(APPEND _Gears_CSOURCES ${j}) endif() endforeach(i)