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
System
KSystemLog
Commits
d0f7cb75
Commit
d0f7cb75
authored
Jul 09, 2021
by
Laurent Montel
😁
Browse files
Add clang support too
parent
059290a2
Pipeline
#69497
passed with stage
in 5 minutes and 14 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CMakePresets.json
View file @
d0f7cb75
...
...
@@ -22,6 +22,20 @@
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
{
"name"
:
"dev-clang"
,
"displayName"
:
"dev-clang"
,
"generator"
:
"Ninja"
,
"binaryDir"
:
"${sourceDir}/build-clang"
,
"cacheVariables"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
},
"environment"
:
{
"CXX"
:
"clang++"
,
"CCACHE_DISABLE"
:
"ON"
}
},
{
"name"
:
"unity"
,
"displayName"
:
"Build with CMake unity support."
,
...
...
@@ -51,7 +65,7 @@
"CMAKE_BUILD_TYPE"
:
"RelWithDebInfo"
,
"CMAKE_EXPORT_COMPILE_COMMANDS"
:
"ON"
}
},
},
{
"name"
:
"clazy"
,
"displayName"
:
"clazy"
,
...
...
@@ -65,17 +79,26 @@
"CCACHE_DISABLE"
:
"ON"
}
}
],
"buildPresets"
:
[
{
"name"
:
"dev"
,
"configurePreset"
:
"dev"
},
{
"name"
:
"release"
,
"configurePreset"
:
"release"
},
{
"name"
:
"dev-clang"
,
"configurePreset"
:
"dev-clang"
},
{
"name"
:
"asan"
,
"configurePreset"
:
"asan"
},
{
{
"name"
:
"unity"
,
"configurePreset"
:
"unity"
},
...
...
@@ -87,5 +110,19 @@
"CCACHE_DISABLE"
:
"ON"
}
}
],
"testPresets"
:
[
{
"name"
:
"dev"
,
"configurePreset"
:
"dev"
,
"output"
:
{
"outputOnFailure"
:
true
},
"execution"
:
{
"noTestsAction"
:
"error"
,
"stopOnFailure"
:
false
}
},
{
"name"
:
"asan"
,
"configurePreset"
:
"asan"
,
"output"
:
{
"outputOnFailure"
:
true
},
"execution"
:
{
"noTestsAction"
:
"error"
,
"stopOnFailure"
:
true
}
}
]
}
Write
Preview
Markdown
is supported
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