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
9d6892ea
Commit
9d6892ea
authored
Jan 08, 2021
by
Laurent Montel
Browse files
Add CMakePresets (cmake 3.19.0)
parent
21524f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
0 → 100644
View file @
9d6892ea
{
"version"
:
1
,
"configurePresets"
:
[
{
"name"
:
"dev"
,
"displayName"
:
"Build as debug"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
}
},
{
"name"
:
"asan"
,
"displayName"
:
"Build with Asan support."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-asan"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"ECM_ENABLE_SANITIZERS"
:
"'address;undefined'"
}
},
{
"name"
:
"release"
,
"displayName"
:
"Build as release mode."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-release"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Release"
}
}
]
}
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