Browse Source

chore(cmake): add compile commands to preset (#5685)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
pull/5690/head
Henry Schreiner 2 months ago committed by GitHub
parent
commit
e4622cbd7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      CMakePresets.json

17
CMakePresets.json

@ -12,10 +12,12 @@ @@ -12,10 +12,12 @@
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"PYBIND11_FINDPYTHON": "NEW",
"PYBIND11_WERROR": true,
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"DOWNLOAD_CATCH": true,
"DOWNLOAD_EIGEN": true
"DOWNLOAD_EIGEN": true,
"PYBIND11_FINDPYTHON": "NEW",
"PYBIND11_WERROR": true
}
},
{
@ -24,12 +26,13 @@ @@ -24,12 +26,13 @@
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"DOWNLOAD_CATCH": true,
"DOWNLOAD_EIGEN": true,
"PYBIND11_CREATE_WITH_UV": "python3",
"Python_ROOT_DIR": ".venv",
"PYBIND11_WERROR": true,
"PYBIND11_FINDPYTHON": "NEW",
"DOWNLOAD_CATCH": true,
"DOWNLOAD_EIGEN": true
"PYBIND11_WERROR": true,
"Python_ROOT_DIR": ".venv"
}
}
],

Loading…
Cancel
Save