1 Star 0 Fork 2

snowingbear/mkbase

forked from chaigec/mkbase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 560 Bytes
一键复制 编辑 原始数据 按行查看 历史
chaigec 提交于 2023-03-13 16:00 +08:00 . add log back per 500M
cmake_minimum_required(VERSION 3.5)
project(mkbase)
if(NOT VERSION)
set(VERSION "2.0.0.1")
endif()
option(BUILD_SHARED "build share library" OFF)
option(BUILD_UT "build ut test" OFF)
option(BUILD_SAMPLES "build sample tests" OFF)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_LIST_DIR}")
set(CMAKE_CXX_STANDARD 11)
add_subdirectory(source)
IF(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Debug")
ENDIF()
message(${CMAKE_BUILD_TYPE})
if (BUILD_UT)
add_subdirectory(ut_test)
endif()
if(BUILD_SAMPLES)
add_subdirectory(samples)
endif()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/snowingbear/mkbase.git
git@gitee.com:snowingbear/mkbase.git
snowingbear
mkbase
mkbase
master

搜索帮助