8 Star 27 Fork 6

Gitee 极速下载 / smash

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/wangzq0807/smash
克隆/下载
CMakeLists.txt 595 Bytes
一键复制 编辑 原始数据 按行查看 历史
SuperFranky 提交于 2020-01-31 16:27 . fix bugs
cmake_minimum_required (VERSION 3.0)
# include_directories (include)
add_subdirectory(boot)
add_subdirectory(kernel)
add_subdirectory(system)
add_subdirectory(test)
# 安装bootloader,内核,应用
add_custom_target (fs)
add_custom_command (TARGET fs PRE_BUILD
COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/tools/install.sh ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
)
add_custom_target(run)
add_custom_command (TARGET run PRE_BUILD
COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/tools/install.sh ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
COMMAND bochs -q -f ${CMAKE_BINARY_DIR}/bochsrc
)
C/C++
1
https://gitee.com/mirrors/smash.git
git@gitee.com:mirrors/smash.git
mirrors
smash
smash
master

搜索帮助