Luna/apps/CMakeLists.txt
apio f2cc797599
All checks were successful
continuous-integration/drone/push Build is passing
Add a simple ELF loader
2022-12-23 13:09:21 +01:00

6 lines
220 B
CMake

function(luna_app SOURCE_FILE APP_NAME)
add_executable(${APP_NAME} ${SOURCE_FILE})
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${APP_NAME}" DESTINATION ${LUNA_ROOT}/initrd/bin)
endfunction()
luna_app(app.asm app)