userspace programs are now in userspace/programs userspace tests are now in userspace/tests This makes listing userspace projects much cleaner. Libraries were already separated to their own directory, so other programs should also.
10 lines
159 B
CMake
10 lines
159 B
CMake
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(whoami ${SOURCES})
|
|
banan_include_headers(whoami ban)
|
|
banan_link_library(whoami libc)
|
|
|
|
install(TARGETS whoami OPTIONAL)
|