Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
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
json
Commits
ecaab32e
Unverified
Commit
ecaab32e
authored
Jan 02, 2021
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🚧
add switch for diagnostics
parent
7b047861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
ecaab32e
...
...
@@ -34,6 +34,7 @@ option(JSON_BuildTests "Build the unit tests when BUILD_TESTING is enabled." ${M
option
(
JSON_Install
"Install CMake targets during install step."
${
MAIN_PROJECT
}
)
option
(
JSON_MultipleHeaders
"Use non-amalgamated version of the library."
OFF
)
option
(
JSON_ImplicitConversions
"Enable implicit conversions."
ON
)
option
(
JSON_Diagnostics
"Enable better diagnostic messages."
OFF
)
##
## CONFIGURATION
...
...
@@ -79,6 +80,7 @@ target_compile_definitions(
${
NLOHMANN_JSON_TARGET_NAME
}
INTERFACE
JSON_USE_IMPLICIT_CONVERSIONS=$<BOOL:
${
JSON_ImplicitConversions
}
>
JSON_DIAGNOSTICS=$<BOOL:
${
JSON_Diagnostics
}
>
)
target_include_directories
(
...
...
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