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.
17 lines
238 B
CMake
17 lines
238 B
CMake
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(sudo ${SOURCES})
|
|
banan_link_library(sudo libc)
|
|
|
|
install(
|
|
TARGETS sudo
|
|
PERMISSIONS
|
|
OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
|
GROUP_READ GROUP_EXECUTE
|
|
WORLD_READ WORLD_EXECUTE
|
|
SETUID
|
|
OPTIONAL
|
|
)
|