GIT_SILENT: add CMAKE_EXPORT_COMPILE_COMMANDS

wilder
Laurent Montel 5 years ago
parent 7454baa0fd
commit 5f54249bae
  1. 9
      CMakePresets.json

@ -18,7 +18,8 @@
"binaryDir": "${sourceDir}/build-asan", "binaryDir": "${sourceDir}/build-asan",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug", "CMAKE_BUILD_TYPE": "Debug",
"ECM_ENABLE_SANITIZERS" : "'address;undefined'" "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
} }
}, },
{ {
@ -28,7 +29,8 @@
"binaryDir": "${sourceDir}/build-unity", "binaryDir": "${sourceDir}/build-unity",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug", "CMAKE_BUILD_TYPE": "Debug",
"USE_UNITY_CMAKE_SUPPORT": "ON" "USE_UNITY_CMAKE_SUPPORT": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
} }
}, },
{ {
@ -46,7 +48,8 @@
"generator": "Ninja", "generator": "Ninja",
"binaryDir": "${sourceDir}/build-profile", "binaryDir": "${sourceDir}/build-profile",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo" "CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
} }
} }
] ]

Loading…
Cancel
Save