代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/boden 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
cmake_minimum_required(VERSION 3.15)
else()
cmake_minimum_required(VERSION 3.10)
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ./ )
option(BDN_BUILD_TESTS "Build boden tests" ON)
option(BDN_BUILD_EXAMPLES "Build boden examples" ON)
option(BDN_WARNINGS_AS_ERRORS "Enable warnings as errors" ON)
option(BDN_NEVER_INCLUDE_STD_FILESYSTEM_POLYFILL "Do not try to workaround platforms that don't support std::filesystem" OFF)
if(POLICY CMP0079)
cmake_policy(SET CMP0079 NEW) # Remove when minimum reaches 3.13
endif()
project(boden VERSION 0.3.0 LANGUAGES C CXX)
include(GNUInstallDirs)
set( CMAKE_POSITION_INDEPENDENT_CODE ON )
add_library(Boden_All INTERFACE)
add_library(Boden::All ALIAS Boden_All)
enable_testing()
# cmake utilities
add_subdirectory(cmake)
add_subdirectory(bauer)
add_subdirectory(roger)
fix_ios_package()
# 3rdParty support libraries
add_subdirectory(3rdparty)
# Clang-tidy
option(BDN_ENABLE_CLANG_TIDY "Enable clang-tidy during build" OFF)
set(BDN_CLANG_TIDY_EXECUTABLE "/usr/local/opt/llvm/bin/clang-tidy" CACHE STRING "The path to the clang-tidy executable")
set(BDN_CLANG_TIDY_EXTRA_OPTIONS "" CACHE STRING "Extra options for clang-tidy")
set(BDN_CLANG_TIDY_OPTIONS ${BDN_CLANG_TIDY_EXECUTABLE} ${BDN_CLANG_TIDY_EXTRA_OPTIONS} )
# Main Library
add_subdirectory(framework)
# Examples
if(BDN_BUILD_EXAMPLES)
add_subdirectory(examples)
endif(BDN_BUILD_EXAMPLES)
# Tests
if(BDN_BUILD_TESTS)
add_subdirectory(tests)
endif()
add_global_clangformat(FormatSources ${CMAKE_CURRENT_LIST_DIR})
include(package/package.cmake)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。