Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDebugSettings
Commits
1dd76413
Commit
1dd76413
authored
May 09, 2021
by
Laurent Montel
Browse files
Add build preset support + clazy support
parent
b869f9eb
Pipeline
#61311
failed with stage
in 7 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
View file @
1dd76413
{
{
"version"
:
1
,
"version"
:
2
,
"configurePresets"
:
[
"configurePresets"
:
[
{
{
"name"
:
"dev"
,
"name"
:
"dev"
,
...
@@ -51,6 +51,33 @@
...
@@ -51,6 +51,33 @@
"CMAKE_BUILD_TYPE"
:
"RelWithDebInfo"
,
"CMAKE_BUILD_TYPE"
:
"RelWithDebInfo"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
}
}
},
{
"name"
:
"clazy"
,
"displayName"
:
"clazy"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-clazy"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
},
"environment"
:
{
"CXX"
:
"clazy"
,
"CCACHE_DISABLE"
:
"ON"
}
}
],
"buildPresets"
:
[
{
"name"
:
"dev"
,
"configurePreset"
:
"dev"
},
{
"name"
:
"clazy"
,
"configurePreset"
:
"clazy"
,
"environment"
:
{
"CLAZY_CHECKS"
:
"level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo"
,
"CCACHE_DISABLE"
:
"ON"
}
}
]
]
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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