Luna/apps/CMakeLists.txt
apio 30555f8e5a
All checks were successful
continuous-integration/drone/push Build is passing
Skip these because CI needed a toolchain rebuild
2023-01-06 15:00:49 +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)