abseil / abseil/abseil-cpp

The value of CMAKE_CXX_STANDARD should be encoded in installed file names to allow packaging for users requiring different -std=c++NN

オープン
#820 コメント 0 件 リアクション 0 件 担当者 1 名 @derekmauro が担当を希望しています GitHub で見る
bug
主要言語
C++
スター
18.1k
フォーク
3.2k
平均マージ
20時間 36分
マージ済み PR(30日)
1

説明

Since different depending projects require different -std=c++NN settings in abseil, it should be possible to have abseil simultaneously installed with different -std=c++NN settings.

Google's or-tools require ```-std=c++17```, while others require ```-std=c++11``` and fail to build otherwise.

Please change the installed file paths to reflect ```-std=c++NN``` set through ```CMAKE_CXX_STANDARD```.
For example, ```include/absl/``` could become ```include/absl-c++NN/```, and ```lib/libabsl_XX.so``` could become ```lib/libabsl-c++NN_XX.so```.

Original bug: https://github.com/abseil/abseil-cpp/issues/819#issuecomment-709529075

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。