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

Open
#820 0 comments 0 reactions 1 assignee Claimed by @derekmauro View on GitHub
bug
Dominant language
C++
Stars
18.1k
Forks
3.2k
Avg merge
20h 36m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.