2024-07-03 09:15:22 +03:00
|
|
|
set(USERSPACE_PROGRAMS
|
2024-08-09 15:56:33 +03:00
|
|
|
bananfetch
|
2024-12-05 08:30:06 +02:00
|
|
|
basename
|
2024-07-03 09:15:22 +03:00
|
|
|
cat
|
|
|
|
cat-mmap
|
|
|
|
chmod
|
|
|
|
cp
|
|
|
|
dd
|
|
|
|
dhcp-client
|
2024-09-05 12:56:50 +03:00
|
|
|
DynamicLoader
|
2024-07-03 09:15:22 +03:00
|
|
|
echo
|
2024-10-15 23:41:18 +03:00
|
|
|
env
|
2024-07-03 09:15:22 +03:00
|
|
|
getopt
|
|
|
|
http-server
|
|
|
|
id
|
|
|
|
image
|
|
|
|
init
|
2024-12-05 08:14:45 +02:00
|
|
|
ln
|
2024-07-03 09:15:22 +03:00
|
|
|
loadfont
|
|
|
|
loadkeys
|
|
|
|
ls
|
|
|
|
meminfo
|
|
|
|
mkdir
|
|
|
|
nslookup
|
|
|
|
poweroff
|
|
|
|
resolver
|
|
|
|
rm
|
|
|
|
Shell
|
|
|
|
sleep
|
|
|
|
snake
|
|
|
|
stat
|
|
|
|
sudo
|
|
|
|
sync
|
|
|
|
tee
|
2024-10-18 03:36:03 +03:00
|
|
|
TaskBar
|
2024-07-03 09:15:22 +03:00
|
|
|
Terminal
|
|
|
|
touch
|
|
|
|
u8sum
|
|
|
|
whoami
|
|
|
|
WindowServer
|
|
|
|
yes
|
|
|
|
)
|
|
|
|
|
|
|
|
foreach(project ${USERSPACE_PROGRAMS})
|
|
|
|
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
|
2024-09-26 15:20:07 +03:00
|
|
|
target_compile_options(${project} PRIVATE -g -O2 -Wall -Wextra -Werror)
|
2024-07-03 09:15:22 +03:00
|
|
|
endforeach()
|