coin-or-tools / BuildTools

Macros and patches for GNU autotools
https://coin-or-tools.github.io/BuildTools/
Other
3 stars 7 forks source link

add compiler flags to specify C/C++ standard #126

Closed svigerske closed 4 years ago

svigerske commented 5 years ago

Add a macro so a project can specify which C++ version it wants and compiler flags are added to specify this version (e.g., -std=gnu++11). Similar for C.

svigerske commented 4 years ago

AX_CXX_COMPILE_STDCXX and friends can be used for this purpose.

9b6de7ee2c added translation of -std= to -std: in script compile.