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
Filelight
Commits
fb4e02d1
Commit
fb4e02d1
authored
Mar 24, 2021
by
Laurent Montel
Browse files
GIT_SILENT: Add support for CMakePresets
parent
41772f39
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
0 → 100644
View file @
fb4e02d1
{
"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