Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Spectacle
Commits
849c61d7
Commit
849c61d7
authored
Aug 10, 2021
by
Laurent Montel
😁
Browse files
Add support for building without deprecated methods
parent
431a6f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
View file @
849c61d7
...
...
@@ -11,6 +11,17 @@
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
{
"name"
:
"dev-disable-deprecated"
,
"displayName"
:
"Build as without deprecated methods"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-disable-deprecated"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
,
"CMAKE_CXX_FLAGS_INIT"
:
"-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
}
},
{
"name"
:
"asan"
,
"displayName"
:
"Build with Asan support."
,
...
...
@@ -71,6 +82,18 @@
"name"
:
"dev"
,
"configurePreset"
:
"dev"
},
{
"name"
:
"asan"
,
"configurePreset"
:
"asan"
},
{
"name"
:
"dev-disable-deprecated"
,
"configurePreset"
:
"dev-disable-deprecated"
},
{
"name"
:
"unity"
,
"configurePreset"
:
"unity"
},
{
"name"
:
"clazy"
,
"configurePreset"
:
"clazy"
,
...
...
Write
Preview
Supports
Markdown
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