代码拉取完成,页面将自动刷新
同步操作将从 华中科技大学操作系统团队/riscv-pke 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 3.10)
# Set the project name
project(riscv-pke)
# Set the C compiler
set(CMAKE_C_COMPILER ${CMAKE_SOURCE_DIR}/riscv64-elf-gcc/bin/riscv64-unknown-elf-gcc)
set(CMAKE_ASM_COMPILER ${CMAKE_SOURCE_DIR}/riscv64-elf-gcc/bin/riscv64-unknown-elf-gcc)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/obj)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/obj)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/obj)
# Set the C flags
set(CMAKE_C_FLAGS "-Wall -Werror -fno-builtin -nostdlib -D__NO_INLINE__ -mcmodel=medany -g -Og -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -fno-PIE")
# Include directories
include_directories(${CMAKE_SOURCE_DIR})
# Add the directories containing the source files
add_subdirectory(util)
add_subdirectory(spike_interface)
add_subdirectory(kernel)
add_subdirectory(user)
# Set the default build target
set(DEFAULT_BUILD_TYPE "Release")
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。