diff options
author | gabime <gmelman1@gmail.com> | 2019-05-08 17:37:25 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2019-05-08 17:37:25 +0300 |
commit | c031ae2aabb9f6356ee107c6c6ff6bf4edee8b6b (patch) | |
tree | f4a6e2054b03584456e573f52319df1a8b6d8d7e /CMakeLists.txt | |
parent | 1ac6c9f9c21e94b0d3934f3fef2402f86824c511 (diff) |
Cmake message
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 179a0adf..6ebb465e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
endif()
-message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
+
#---------------------------------------------------------------------------------------
# compiler config
@@ -54,6 +54,9 @@ option(SPDLOG_INSTALL "Generate the install target." ${SPDLOG_MASTER_PROJECT}) set(HEADER_BASE "${CMAKE_CURRENT_SOURCE_DIR}/include/spdlog")
+message(STATUS "Build type: " ${CMAKE_BUILD_TYPE})
+message(STATUS "Static lib: " ${SPDLOG_STATIC_LIB})
+
if(SPDLOG_STATIC_LIB)
add_definitions(-DSPDLOG_STATIC_LIB)
file(GLOB SRC_FILES ${HEADER_BASE}/impl/*.cpp)
|