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.
9 lines
131 B
CMake
9 lines
131 B
CMake
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(cat-mmap ${SOURCES})
|
|
banan_link_library(cat-mmap libc)
|
|
|
|
install(TARGETS cat-mmap OPTIONAL)
|