8 lines
230 B
CMake
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)
|