加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 2.6)
project(cpp_study)
set(CMAKE_CXX_STANDARD 14)
include_directories("${PROJECT_BINARY_DIR}")
include_directories("${PROJECT_SOURCE_DIR}/section0")
include_directories("${PROJECT_SOURCE_DIR}/section1")
include_directories("${PROJECT_SOURCE_DIR}/section2")
include_directories("${PROJECT_SOURCE_DIR}/section3")
include_directories("${PROJECT_SOURCE_DIR}/section4")
include_directories("${PROJECT_SOURCE_DIR}/section5")
add_subdirectory(section0)
add_subdirectory(section1)
add_subdirectory(section2)
add_subdirectory(section3)
add_subdirectory(section4)
add_subdirectory(section5)
set(EXTRA_LIBS ${EXTRA_LIBS} section0)
set(EXTRA_LIBS ${EXTRA_LIBS} section1)
set(EXTRA_LIBS ${EXTRA_LIBS} section2)
set(EXTRA_LIBS ${EXTRA_LIBS} section3)
set(EXTRA_LIBS ${EXTRA_LIBS} section4)
set(EXTRA_LIBS ${EXTRA_LIBS} section5)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化