diff --git a/userspace/programs/CMakeLists.txt b/userspace/programs/CMakeLists.txt index 01311621..ff5548e4 100644 --- a/userspace/programs/CMakeLists.txt +++ b/userspace/programs/CMakeLists.txt @@ -12,6 +12,7 @@ set(USERSPACE_PROGRAMS DynamicLoader echo env + false getopt http-server id @@ -37,6 +38,7 @@ set(USERSPACE_PROGRAMS sudo sync tee + true TaskBar Terminal touch diff --git a/userspace/programs/false/CMakeLists.txt b/userspace/programs/false/CMakeLists.txt new file mode 100644 index 00000000..e9622432 --- /dev/null +++ b/userspace/programs/false/CMakeLists.txt @@ -0,0 +1,9 @@ +set(SOURCES + main.cpp +) + +add_executable(false ${SOURCES}) +banan_link_library(false ban) +banan_link_library(false libc) + +install(TARGETS false OPTIONAL) diff --git a/userspace/programs/false/main.cpp b/userspace/programs/false/main.cpp new file mode 100644 index 00000000..93457af2 --- /dev/null +++ b/userspace/programs/false/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() +{ + return EXIT_FAILURE; +} diff --git a/userspace/programs/true/CMakeLists.txt b/userspace/programs/true/CMakeLists.txt new file mode 100644 index 00000000..751641ca --- /dev/null +++ b/userspace/programs/true/CMakeLists.txt @@ -0,0 +1,9 @@ +set(SOURCES + main.cpp +) + +add_executable(true ${SOURCES}) +banan_link_library(true ban) +banan_link_library(true libc) + +install(TARGETS true OPTIONAL) diff --git a/userspace/programs/true/main.cpp b/userspace/programs/true/main.cpp new file mode 100644 index 00000000..95f4a848 --- /dev/null +++ b/userspace/programs/true/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() +{ + return EXIT_SUCCESS; +}