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 个 reaction 已指派 1 人 已被 @derekmauro 认领 在 GitHub 查看
bug
主要语言
C++
星标
18.1k
派生
3.2k
平均合并
20 小时 36 分钟
30 天内合并 PR
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 摘要。