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
PIM
KAlarm
Commits
8696d454
Commit
8696d454
authored
Jan 04, 2021
by
Laurent Montel
Browse files
use new cmake-3.19.0 feature. cmake --preset=dev or other it will provide correct cmake settings
parent
675c79b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
0 → 100644
View file @
8696d454
{
"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"
:
"unity"
,
"displayName"
:
"Build with CMake unity support."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-unity"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"USE_UNITY_CMAKE_SUPPORT"
:
"ON"
}
},
{
"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