Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-05-29 01:41:48 +0300
committergabime <gmelman1@gmail.com>2019-05-29 01:41:48 +0300
commit76fc166e115a053cfb95b0378e8c7fdff6656ddf (patch)
treefe54a85f39c6578ad97d7150cf3e414e9693f498
parent459cd21070ec8cf23a9cb3835184eee746c17929 (diff)
CMakeLists.txt minor improvments
-rw-r--r--CMakeLists.txt4
-rw-r--r--bench/CMakeLists.txt2
-rw-r--r--example/CMakeLists.txt2
-rw-r--r--tests/CMakeLists.txt2
4 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d206af37..0ad1b307 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,15 +101,18 @@ endif()
# build binries
#---------------------------------------------------------------------------------------
if(SPDLOG_BUILD_EXAMPLES)
+ message(STATUS "Generating examples")
add_subdirectory(example)
endif()
if(SPDLOG_BUILD_TESTS)
+ message(STATUS "Generating tests")
include(CTest)
add_subdirectory(tests)
endif()
if(SPDLOG_BUILD_BENCH)
+ message(STATUS "Generating benchmarks")
add_subdirectory(bench)
endif()
@@ -117,6 +120,7 @@ endif()
# install
#---------------------------------------------------------------------------------------
if (SPDLOG_INSTALL)
+ message(STATUS "Generating install")
set(project_config_in "${CMAKE_CURRENT_LIST_DIR}/cmake/spdlogConfig.cmake.in")
set(project_config_out "${CMAKE_CURRENT_BINARY_DIR}/spdlogConfig.cmake")
set(config_targets_file "spdlogConfigTargets.cmake")
diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt
index 1920fe8b..6457a89d 100644
--- a/bench/CMakeLists.txt
+++ b/bench/CMakeLists.txt
@@ -4,8 +4,6 @@
cmake_minimum_required(VERSION 3.1)
project(spdlog_bench CXX)
-message(STATUS "Generating benchmarks..")
-
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog CONFIG REQUIRED)
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index f7ead24a..994051f9 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -4,8 +4,6 @@
cmake_minimum_required(VERSION 3.1)
project(spdlog_examples CXX)
-message(STATUS "Generating examples..")
-
if(NOT TARGET spdlog)
# Stand-alone build
find_package(spdlog REQUIRED)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index dad8c424..a59cf07b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,5 +1,3 @@
-message(STATUS "Generating tests..")
-
set(SPDLOG_UTESTS_SOURCES
test_errors.cpp
test_file_helper.cpp