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
140 B
CMake
10 lines
140 B
CMake
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(ls ${SOURCES})
|
|
banan_link_library(ls ban)
|
|
banan_link_library(ls libc)
|
|
|
|
install(TARGETS ls OPTIONAL)
|