|
|
@ -6,14 +6,12 @@ cmake_minimum_required(VERSION 3.1)
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
# Start spdlog project
|
|
|
|
# Start spdlog project
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
include(cmake/utils.cmake)
|
|
|
|
|
|
|
|
spdlog_extract_version()
|
|
|
|
|
|
|
|
project(spdlog VERSION ${SPDLOG_VERSION} LANGUAGES CXX)
|
|
|
|
|
|
|
|
message(STATUS "Build spdlog: ${SPDLOG_VERSION}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
|
|
|
|
include(cmake/utils.cmake)
|
|
|
|
include(cmake/ide.cmake)
|
|
|
|
include(cmake/ide.cmake)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spdlog_extract_version()
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
# Set default build to release
|
|
|
|
# Set default build to release
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
@ -21,6 +19,10 @@ if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
|
|
|
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
project(spdlog VERSION ${SPDLOG_VERSION} LANGUAGES CXX)
|
|
|
|
|
|
|
|
message(STATUS "Build spdlog: ${SPDLOG_VERSION}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
# Compiler config
|
|
|
|
# Compiler config
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|
#---------------------------------------------------------------------------------------
|
|
|
|