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

Đang mở
#820 0 bình luận 0 reaction 1 người được giao Được @derekmauro nhận Xem trên GitHub
bug
Ngôn ngữ chính
C++
Star
18.1k
Fork
3.2k
Merge trung bình
20 giờ 36 phút
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.