Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
76fc166e
Commit
76fc166e
authored
May 28, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt minor improvments
parent
459cd210
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
CMakeLists.txt
CMakeLists.txt
+4
-0
CMakeLists.txt
bench/CMakeLists.txt
+0
-2
CMakeLists.txt
example/CMakeLists.txt
+0
-2
CMakeLists.txt
tests/CMakeLists.txt
+0
-2
No files found.
CMakeLists.txt
View file @
76fc166e
...
...
@@ -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"
)
...
...
bench/CMakeLists.txt
View file @
76fc166e
...
...
@@ -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
)
...
...
example/CMakeLists.txt
View file @
76fc166e
...
...
@@ -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
)
...
...
tests/CMakeLists.txt
View file @
76fc166e
message
(
STATUS
"Generating tests.."
)
set
(
SPDLOG_UTESTS_SOURCES
test_errors.cpp
test_file_helper.cpp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment