Update cmakepreset.json to use clang with ninja by default
This commit is contained in:
parent
f112d198cd
commit
9d87c69649
1 changed files with 13 additions and 0 deletions
|
@ -11,6 +11,19 @@
|
||||||
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "clang-ninja",
|
||||||
|
"hidden": true,
|
||||||
|
"generator": "Ninja",
|
||||||
|
"binaryDir": "${sourceDir}/build-${presetName}",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||||||
|
"CMAKE_C_COMPILER":"clang.exe",
|
||||||
|
"CMAKE_CXX_COMPILER":"clang++.exe",
|
||||||
|
"CMAKE_INSTALL_RPATH": "$ORIGIN;$ORIGIN/.."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "sycl-base",
|
"name": "sycl-base",
|
||||||
"hidden": true,
|
"hidden": true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue