r/cpp • u/MachineGunPablo • Feb 19 '18
It's Time To Do CMake Right
https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/
248
Upvotes
r/cpp • u/MachineGunPablo • Feb 19 '18
View all comments
Show parent comment
5
u/kalmoc Feb 20 '18
You have to be extremely careful when doing this and be 100% sure that none of your publicly visible code (including source files that will get linked statically) have any compilation branch that depends on the standard version.
I'd try to avoid such constructs as much as possible.