BuildSystem: Cleanup userspace directory layout
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.
This commit is contained in:
8
userspace/programs/yes/CMakeLists.txt
Normal file
8
userspace/programs/yes/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
)
|
||||
|
||||
add_executable(yes ${SOURCES})
|
||||
banan_link_library(yes libc)
|
||||
|
||||
install(TARGETS yes OPTIONAL)
|
||||
8
userspace/programs/yes/main.cpp
Normal file
8
userspace/programs/yes/main.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
for (;;)
|
||||
puts("y");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user