Mercurial > hg > Members > tobaru > CbC_xv6
comparison src/usr/CMakeLists.txt @ 86:765449889623
fix translate interface routine
author | anatofuz |
---|---|
date | Tue, 15 Oct 2019 20:03:48 +0900 |
parents | 624fe2ec975c |
children | add5e775339c |
comparison
equal
deleted
inserted
replaced
85:d33e6b5adb57 | 86:765449889623 |
---|---|
41 COMMAND nvcc ${NVCCFLAG} -c -ptx -o ${j} ${i} | 41 COMMAND nvcc ${NVCCFLAG} -c -ptx -o ${j} ${i} |
42 ) | 42 ) |
43 list(APPEND _Gears_CBC_SOURCES ${j}) | 43 list(APPEND _Gears_CBC_SOURCES ${j}) |
44 else() | 44 else() |
45 set(j ${i}) | 45 set(j ${i}) |
46 file(COPY "${CMAKE_SOURCE_DIR}/context.h" DESTINATION "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir") | 46 file(COPY "${CMAKE_SOURCE_DIR}/origin-context.h" DESTINATION "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir") |
47 file(RENAME "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir/origin-context.h" "${CMAKE_BINARY_DIR}/usr/${_Gears_TARGET}.dir/context.h") | |
47 list(APPEND _Gears_CSOURCES ${j}) | 48 list(APPEND _Gears_CSOURCES ${j}) |
48 endif() | 49 endif() |
49 endforeach(i) | 50 endforeach(i) |
50 | 51 |
51 add_custom_command ( | 52 add_custom_command ( |