spdlog_extract_version()# 设置项目名、版本、语言project(spdlog VERSION${SPDLOG_VERSION}LANGUAGES CXX)message(STATUS"Build spdlog: ${SPDLOG_VERSION}")# 使用GNU标准安装目录# CMake会根据CMAKE_INSTALL_PREFIX变量, 构建出绝对路径, 指明BINDIR、LIBDIR、INCLUDEDIR等各种路径include(GNUInstallDirs) include命令...
spdlog_extract_version() project(spdlog VERSION ${SPDLOG_VERSION} LANGUAGES CXX) message(STATUS "Build spdlog: ${SPDLOG_VERSION}") include(GNUInstallDirs) # --- # Set default build to release # --- if(NOT CMAKE_BUILD_TYPE
scripts Update extract_version.py Apr 8, 2021 src Support C++20 std::format as an alternative to fmtlib Nov 14, 2021 tests Update test_file_helper.cpp Dec 11, 2021 .clang-format Update clang format to format cpp macros Jun 21, 2021 .clang-tidy Update .clang-tidy Mar 26, 2021 .gitatt...
// 按pad规格, 逐字符解析模式标志, 即%后的3段: <alignment><width>[!]<flag>// handle_padspec_可能改变迭代器it, 正常时, 最终指向<flag>或者end; 或者中间出错, 如没有指定<width>// Extract given pad spec (e.g. %8X, %=8X, %-8!X, %8!X, %=8!X, %-8!X, %+8!X)// Advance...
1Star0Fork0 anna_all/spdlog 代码Issues0Pull Requests0Wiki统计流水线 服务 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 v1.x 分支(5) 标签(33) 管理 管理 v1.x v2.x file_event_handlers ...
Enabled warning on examples only if built as part of spdlog April 1, 2020 00:23 scripts Update extract_version.py April 8, 2021 09:56 src Refactor to be C++11 compatible January 19, 2022 14:41 tests Added info() and logger->info() et al. convenience functions April 5, 2022...
cmake example include logos scripts extract_version.py format.sh src tests .clang-format .clang-tidy .gitattributes .gitignore .travis.yml CMakeLists.txt INSTALL LICENSE README.md appveyor.ymlBreadcrumbs spdlog / scripts/ Directory actions More options Failed to load latest commit information. ...
Header-only (checkHow to Installto extract out the header files). Initialization ofspdlogsinks, patterns and loggers based onTOMLconfiguration file. Tag replacement (e.g. "{tagname}-log.txt") within theTOMLconfiguration file. Throw exception describing the error during the parsing of the config...
(cmake/ide.cmake) spdlog_extract_version() #--- # Set default build to release #--- if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE) endif() project(
(cmake/ide.cmake) spdlog_extract_version() project(spdlog VERSION ${SPDLOG_VERSION} LANGUAGES CXX) message(STATUS "Build spdlog: ${SPDLOG_VERSION}") include(GNUInstallDirs) # --- # Set default build to release # --- if(