Luna/apps/CMakeLists.txt
apio 129e3c434a
Some checks failed
continuous-integration/drone/push Build is failing
Switch to C for userspace, with a very bare-bones libc!!
2023-01-06 13:31:14 +01:00

8 lines
230 B
CMake

function(luna_app SOURCE_FILE APP_NAME)
add_executable(${APP_NAME} ${SOURCE_FILE})
add_dependencies(${APP_NAME} libc)
install(TARGETS ${APP_NAME} DESTINATION ${LUNA_ROOT}/initrd/bin)
endfunction()
luna_app(app.c app)