1 Star 1 Fork 0

oj-code/yalantinglibs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
saipubw 提交于 2024-10-22 19:55 . Release 0.3.9 (#798)
cmake_minimum_required(VERSION 3.15)
project(yaLanTingLibs
VERSION 0.3.9
DESCRIPTION "yaLanTingLibs"
HOMEPAGE_URL "https://github.com/alibaba/yalantinglibs"
LANGUAGES CXX
)
# load pack finder
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Find/)
find_package(Threads REQUIRED)
link_libraries(Threads::Threads)
include(cmake/install.cmake)
if(CMAKE_PROJECT_NAME STREQUAL "yaLanTingLibs") # if ylt is top-level project
# add include path
include_directories(include)
include_directories(include/ylt/thirdparty)
include_directories(include/ylt/standalone)
include_directories(src/include)
include(cmake/utils.cmake)
include(cmake/build.cmake)
include(cmake/develop.cmake)
# add project config, such as enable_ssl.
include(cmake/config.cmake)
# add project's source such as unit test, example & benchmark
include(cmake/subdir.cmake)
else ()
# add project config, such as enable_ssl.
include(cmake/config.cmake)
endif()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/oj-code/yalantinglibs.git
git@gitee.com:oj-code/yalantinglibs.git
oj-code
yalantinglibs
yalantinglibs
main

搜索帮助