1 Star 0 Fork 168

lsong/2024-exercises-stage-1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 637 Bytes
一键复制 编辑 原始数据 按行查看 历史
Burgess Chang 提交于 2024-06-01 12:58 . 初始化仓库
cmake_minimum_required(VERSION 3.7)
if(${CMAKE_VERSION} VERSION_LESS 3.29)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else()
cmake_policy(VERSION 3.29)
endif()
project(lee VERSION 2024.1 DESCRIPTION "Exercises for Learning EulixOS (2024 edition)" LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
if (CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall")
endif()
add_subdirectory(src)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li-lisong-1/2024-exercises-stage-1.git
git@gitee.com:li-lisong-1/2024-exercises-stage-1.git
li-lisong-1
2024-exercises-stage-1
2024-exercises-stage-1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385