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
80740f0e
Unverified
Commit
80740f0e
authored
Jun 10, 2019
by
Gabi Melman
Committed by
GitHub
Jun 10, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1105 from jktjkt/do-not-impose-extra-warnings
Do not impose -Wextra -Wconversion etc on library users
parents
e0b4ec54
c60f7907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
CMakeLists.txt
CMakeLists.txt
+3
-6
No files found.
CMakeLists.txt
View file @
80740f0e
...
...
@@ -80,12 +80,10 @@ target_link_libraries(spdlog_header_only INTERFACE Threads::Threads)
#---------------------------------------------------------------------------------------
if
(
SPDLOG_MASTER_PROJECT
)
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"GNU|Clang|AppleClang"
)
target_compile_options
(
spdlog PUBLIC -Wall -Wextra -Wconversion -pedantic -Wfatal-errors
)
target_compile_options
(
spdlog_header_only INTERFACE -Wall -Wextra -Wconversion -pedantic -Wfatal-errors
)
target_compile_options
(
spdlog PRIVATE -Wall -Wextra -Wconversion -pedantic -Wfatal-errors
)
endif
()
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"MSVC"
)
target_compile_options
(
spdlog PUBLIC /W3 /WX
)
target_compile_options
(
spdlog_header_only INTERFACE /W3 /WX
)
target_compile_options
(
spdlog PRIVATE /W3 /WX
)
endif
()
include
(
cmake/sanitizers.cmake
)
...
...
@@ -162,4 +160,4 @@ if (SPDLOG_INSTALL)
#---------------------------------------------------------------------------------------
include
(
cmake/spdlogCPack.cmake
)
endif
()
\ No newline at end of file
endif
()
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