mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
chore(cmake): add compile commands to preset (#5685)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -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 @@
|
||||
"inherits": "default",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"PYBIND11_CREATE_WITH_UV": "python3",
|
||||
"Python_ROOT_DIR": ".venv",
|
||||
"PYBIND11_WERROR": true,
|
||||
"PYBIND11_FINDPYTHON": "NEW",
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
|
||||
"DOWNLOAD_CATCH": true,
|
||||
"DOWNLOAD_EIGEN": true
|
||||
"DOWNLOAD_EIGEN": true,
|
||||
"PYBIND11_CREATE_WITH_UV": "python3",
|
||||
"PYBIND11_FINDPYTHON": "NEW",
|
||||
"PYBIND11_WERROR": true,
|
||||
"Python_ROOT_DIR": ".venv"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user