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
1bee3218
Commit
1bee3218
authored
May 19, 2021
by
steven lunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup thanks to gabime
parent
802eaadd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
21 deletions
+8
-21
CMakeLists.txt
CMakeLists.txt
+8
-21
No files found.
CMakeLists.txt
View file @
1bee3218
...
@@ -238,27 +238,14 @@ endif()
...
@@ -238,27 +238,14 @@ endif()
# ---------------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------
# Allow override of level names
# Allow override of level names
# ---------------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------
if
(
NOT SPDLOG_LEVEL_NAME_TRACE
)
set
(
SPDLOG_LEVEL_NAME_TRACE
"trace"
CACHE STRING
"custom level name"
)
set
(
SPDLOG_LEVEL_NAME_TRACE trace
)
set
(
SPDLOG_LEVEL_NAME_DEBUG
"debug"
CACHE STRING
"custom level name"
)
endif
()
set
(
SPDLOG_LEVEL_NAME_INFO
"info"
CACHE STRING
"custom level name"
)
if
(
NOT SPDLOG_LEVEL_NAME_DEBUG
)
set
(
SPDLOG_LEVEL_NAME_WARNING
"warning"
CACHE STRING
"custom level name"
)
set
(
SPDLOG_LEVEL_NAME_DEBUG debug
)
set
(
SPDLOG_LEVEL_NAME_ERROR
"error"
CACHE STRING
"custom level name"
)
endif
()
set
(
SPDLOG_LEVEL_NAME_CRITICAL
"critical"
CACHE STRING
"custom level name"
)
if
(
NOT SPDLOG_LEVEL_NAME_INFO
)
set
(
SPDLOG_LEVEL_NAME_OFF
"off"
CACHE STRING
"custom level name"
)
set
(
SPDLOG_LEVEL_NAME_INFO info
)
endif
()
if
(
NOT SPDLOG_LEVEL_NAME_WARNING
)
set
(
SPDLOG_LEVEL_NAME_WARNING warning
)
endif
()
if
(
NOT SPDLOG_LEVEL_NAME_ERROR
)
set
(
SPDLOG_LEVEL_NAME_ERROR error
)
endif
()
if
(
NOT SPDLOG_LEVEL_NAME_CRITICAL
)
set
(
SPDLOG_LEVEL_NAME_CRITICAL critical
)
endif
()
if
(
NOT SPDLOG_LEVEL_NAME_OFF
)
set
(
SPDLOG_LEVEL_NAME_OFF off
)
endif
()
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_TRACE=\"
${
SPDLOG_LEVEL_NAME_TRACE
}
\"
)
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_TRACE=\"
${
SPDLOG_LEVEL_NAME_TRACE
}
\"
)
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_DEBUG=\"
${
SPDLOG_LEVEL_NAME_DEBUG
}
\"
)
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_DEBUG=\"
${
SPDLOG_LEVEL_NAME_DEBUG
}
\"
)
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_INFO=\"
${
SPDLOG_LEVEL_NAME_INFO
}
\"
)
target_compile_definitions
(
spdlog PUBLIC SPDLOG_LEVEL_NAME_INFO=\"
${
SPDLOG_LEVEL_NAME_INFO
}
\"
)
...
...
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