Mercurial > hg > CbC > CbC_xv6
comparison src/usr/CMakeLists.txt @ 61:b3a3224e1823
fix link arguments...
author | anatofuz |
---|---|
date | Thu, 11 Jul 2019 18:51:52 +0900 |
parents | e5f099108a6e |
children | a28580a75faa |
comparison
equal
deleted
inserted
replaced
60:e5f099108a6e | 61:b3a3224e1823 |
---|---|
48 add_executable(${_Gears_TARGET} ${_Gears_CBC_SOURCES} ${_Gears_CSOURCES} c/${_Gears_TARGET}-context.c ) | 48 add_executable(${_Gears_TARGET} ${_Gears_CBC_SOURCES} ${_Gears_CSOURCES} c/${_Gears_TARGET}-context.c ) |
49 target_link_libraries(${_Gears_TARGET} ulib) | 49 target_link_libraries(${_Gears_TARGET} ulib) |
50 endmacro() | 50 endmacro() |
51 | 51 |
52 add_library(ulib STATIC ulib.c usys.S printf.c umalloc.c) | 52 add_library(ulib STATIC ulib.c usys.S printf.c umalloc.c) |
53 #add_library(syslib string.c) | |
53 | 54 |
54 set(USRCOMMANDS cat echo grep init kill ln ls mkdir rm sh stressfs usertests wc zombie hello) | 55 set(USRCOMMANDS cat echo grep init kill ln ls mkdir rm sh stressfs usertests wc zombie hello) |
55 | 56 |
56 foreach(cmd ${USR_COMMANDS}) | 57 foreach(cmd ${USR_COMMANDS}) |
57 GearsCommand (TARGET _${cmd} SOURCES ${cmd}.c) | 58 GearsCommand (TARGET _${cmd} SOURCES ${cmd}.c) |