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
System
KSystemLog
Commits
7e333d22
Commit
7e333d22
authored
May 14, 2021
by
Laurent Montel
Browse files
Add support for clazy + build
parent
80d6c538
Pipeline
#61943
passed with stage
in 8 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
View file @
7e333d22
{
{
"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"
:
"level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,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