1 Star 0 Fork 48

张路展/DesignPattern

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 744 Bytes
一键复制 编辑 原始数据 按行查看 历史
涛哥威威 提交于 2018-10-19 21:23 . add Template folder
cmake_minimum_required(VERSION 3.2)
project (DesignPattern C CXX)
SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules)
# use c++11
if(CMAKE_VERSION VERSION_LESS "3")
add_definitions(-std=c++11)
else()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if (NOT PROJECT_BINARY_DIR)
set(PROJECT_BINARY_DIR build)
endif()
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/run)
set (LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/run)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
message("Build Type " ${CMAKE_BUILD_TYPE})
include_directories(${PROJECT_SOURCE_DIR})
enable_testing()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
add_subdirectory(code)
add_subdirectory(Template)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/Jilyz/DesignPattern.git
git@gitee.com:Jilyz/DesignPattern.git
Jilyz
DesignPattern
DesignPattern
master

搜索帮助