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