🔧 完善了运行脚本,加入了一些检查功能

This commit is contained in:
fslongjin
2022-01-17 14:15:50 +08:00
parent 51e5a0ffb8
commit c7cc246652
2 changed files with 63 additions and 4 deletions

View File

@ -5,5 +5,6 @@ set(CMAKE_ASM_NASM_LINK_EXECUTABLE "nasm <OBJECTS> -o <TARGET> <LINK_LIBRARIES>"
enable_language(ASM_NASM)
#修改输出的路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
add_executable(boot.bin boot.asm)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin/bootloader)
add_executable(boot.bin boot.asm)
add_executable(loader.bin loader.asm)