build: convert build system to CMake

This commit is contained in:
2024-09-17 17:50:15 +01:00
parent 8497962af6
commit 065fdeec65
7 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
find_program(QEMU qemu-system-x86_64)
add_custom_target(run
USES_TERMINAL
COMMAND ${QEMU}
-kernel $<TARGET_FILE:${kernel_exe_name}>
-serial stdio)