diff options
author | gabime <gmelman1@gmail.com> | 2019-03-23 14:31:57 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-03-29 14:46:31 +0300 |
commit | 57a312cb1ace32c87dad8ef0d62b907aa4a17405 (patch) | |
tree | 77c12f1acc6563d92d81206928ce123606c6b04b /CMakeLists.txt | |
parent | 043c4acc7ed71024c05c58e4e3e0f2bed34c3fd1 (diff) |
lite wip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f0951fc..c4093403 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,8 @@ option(SPDLOG_BUILD_BENCH "Build benchmarks (Requires https://github.com/google/ option(SPDLOG_BUILD_TESTS "Build tests" ${SPDLOG_MASTER_PROJECT}) option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF) option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT}) +option(SPDLOG_BUILD_LITE "Build spdlog lite" ${SPDLOG_MASTER_PROJECT}) + if(SPDLOG_FMT_EXTERNAL AND NOT TARGET fmt::fmt) find_package(fmt REQUIRED CONFIG) @@ -86,6 +88,11 @@ if(SPDLOG_BUILD_BENCH) add_subdirectory(bench) endif() +if(SPDLOG_BUILD_LITE) + add_subdirectory(lite) + add_subdirectory(lite-example) +endif() + #--------------------------------------------------------------------------------------- # Install/export targets and files #--------------------------------------------------------------------------------------- |