mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
CMakeLists.txt minor improvments
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(spdlog_bench CXX)
|
project(spdlog_bench CXX)
|
||||||
|
|
||||||
|
message(STATUS "Generating benchmarks..")
|
||||||
|
|
||||||
if(NOT TARGET spdlog)
|
if(NOT TARGET spdlog)
|
||||||
# Stand-alone build
|
# Stand-alone build
|
||||||
find_package(spdlog CONFIG REQUIRED)
|
find_package(spdlog CONFIG REQUIRED)
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.1)
|
cmake_minimum_required(VERSION 3.1)
|
||||||
project(spdlog_examples CXX)
|
project(spdlog_examples CXX)
|
||||||
|
|
||||||
|
message(STATUS "Generating examples..")
|
||||||
|
|
||||||
if(NOT TARGET spdlog)
|
if(NOT TARGET spdlog)
|
||||||
# Stand-alone build
|
# Stand-alone build
|
||||||
find_package(spdlog REQUIRED)
|
find_package(spdlog REQUIRED)
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
message(STATUS "Generating tests..")
|
||||||
|
|
||||||
set(SPDLOG_UTESTS_SOURCES
|
set(SPDLOG_UTESTS_SOURCES
|
||||||
test_errors.cpp
|
test_errors.cpp
|
||||||
test_file_helper.cpp
|
test_file_helper.cpp
|
||||||
|
Reference in New Issue
Block a user