banan-os/userspace/CMakeLists.txt

62 lines
802 B
CMake
Raw Normal View History

set(USERSPACE_PROJECTS
cat
cat-mmap
2023-10-25 02:36:09 +03:00
chmod
cp
dd
dhcp-client
2023-06-09 01:50:18 +03:00
echo
getopt
http-server
id
image
init
loadkeys
2023-06-11 03:29:41 +03:00
ls
meminfo
mkdir
nslookup
poweroff
resolver
2023-10-25 21:45:27 +03:00
rm
2023-06-11 03:29:41 +03:00
Shell
sleep
snake
stat
sudo
sync
2023-07-10 16:07:53 +03:00
tee
Terminal
test
test-framebuffer
test-globals
test-mmap-shared
test-mouse
2024-02-14 17:23:26 +02:00
test-popen
test-sort
test-tcp
test-udp
test-unix-socket
test-window
2023-07-10 16:24:03 +03:00
touch
u8sum
2023-08-15 09:03:51 +03:00
whoami
WindowServer
yes
)
add_subdirectory(libraries)
add_custom_target(userspace)
#add_subdirectory(aoc2023)
foreach(project ${USERSPACE_PROJECTS})
add_subdirectory(${project})
add_dependencies(userspace ${project})
# This is to allow cmake to link when libc updates
target_link_options(${project} PRIVATE -nolibc)
# Default compile options
target_compile_options(${project} PRIVATE -g -O2)
endforeach()