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
KGpg
Commits
1d928f22
Commit
1d928f22
authored
Apr 01, 2021
by
Laurent Montel
Browse files
Allow to support cmake presets support
parent
aece6500
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
0 → 100644
View file @
1d928f22
{
"version"
:
1
,
"configurePresets"
:
[
{
"name"
:
"dev"
,
"displayName"
:
"Build as debug"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
{
"name"
:
"asan"
,
"displayName"
:
"Build with Asan support."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-asan"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"ECM_ENABLE_SANITIZERS"
:
"'address;undefined'"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
{
"name"
:
"release"
,
"displayName"
:
"Build as release mode."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-release"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Release"
}
},
{
"name"
:
"profile"
,
"displayName"
:
"profile"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-profile"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"RelWithDebInfo"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
{
"name"
:
"unity"
,
"displayName"
:
"Build with CMake unity support."
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-unity"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"CMAKE_UNITY_BUILD"
:
"ON"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"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