Customizing CMAKE_CXX_FLAGS is not possible with codeql-cli auto-build
オープン
question
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
I have encountered an issue when using the default auto-build feature, as it does not pass the CMAKE_CXX_FLAGS parameter to cmake. Upon closer inspection, I found that the `cpp/tools/do-prebuild.sh` script uses a fixed `CXXFLAGS=-fpermissive`.
It would be beneficial if the script could allow reading the CXXFLAGS configuration from environment variables, like this:
```bash
export CXXFLAGS="'${CXXFLAGS:-} -fpermissive'"
```
```[tasklist]
### Tasks
```
コントリビューションガイド
評価
この issue はまだ評価されていません。