Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
8970fd5d
Commit
8970fd5d
authored
Jun 19, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMake cosmetic
parent
67d5f655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
CMakeLists.txt
CMakeLists.txt
+5
-6
No files found.
CMakeLists.txt
View file @
8970fd5d
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
cmake_minimum_required
(
VERSION 3.1
)
cmake_minimum_required
(
VERSION 3.1
)
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
# Start spdlog project
# Start spdlog project
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
...
@@ -85,7 +84,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
...
@@ -85,7 +84,7 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#
u
se fmt package if using exertnal fmt
#
U
se fmt package if using exertnal fmt
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
if
(
SPDLOG_FMT_EXTERNAL
)
if
(
SPDLOG_FMT_EXTERNAL
)
if
(
NOT TARGET fmt::fmt
)
if
(
NOT TARGET fmt::fmt
)
...
@@ -100,7 +99,7 @@ if(SPDLOG_FMT_EXTERNAL)
...
@@ -100,7 +99,7 @@ if(SPDLOG_FMT_EXTERNAL)
endif
()
endif
()
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#
build bin
ries
#
Build bina
ries
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
if
(
SPDLOG_BUILD_EXAMPLES
)
if
(
SPDLOG_BUILD_EXAMPLES
)
message
(
STATUS
"Generating examples"
)
message
(
STATUS
"Generating examples"
)
...
@@ -119,7 +118,7 @@ if(SPDLOG_BUILD_BENCH)
...
@@ -119,7 +118,7 @@ if(SPDLOG_BUILD_BENCH)
endif
()
endif
()
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#
i
nstall
#
I
nstall
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
if
(
SPDLOG_INSTALL
)
if
(
SPDLOG_INSTALL
)
message
(
STATUS
"Generating install"
)
message
(
STATUS
"Generating install"
)
...
@@ -130,13 +129,13 @@ if (SPDLOG_INSTALL)
...
@@ -130,13 +129,13 @@ if (SPDLOG_INSTALL)
set
(
export_dest_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/spdlog/cmake"
)
set
(
export_dest_dir
"
${
CMAKE_INSTALL_LIBDIR
}
/spdlog/cmake"
)
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#
i
nclude files
#
I
nclude files
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
install
(
DIRECTORY include/ DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
install
(
DIRECTORY include/ DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
"
)
install
(
TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
/spdlog"
)
install
(
TARGETS spdlog spdlog_header_only EXPORT spdlog DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
/spdlog"
)
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#
p
ackage and version files
#
P
ackage and version files
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
install
(
EXPORT spdlog
install
(
EXPORT spdlog
DESTINATION
${
export_dest_dir
}
DESTINATION
${
export_dest_dir
}
...
...
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