Make CMAKE_CXX11_STANDARD_COMPILE_OPTION and friends a documented option
I have the situation where I need to pass -std=cxx11 to a subproject inside a custom command. I would prefer not to hardwire or write the logic for different compilers by hand, when cmake already knows this.
The following stack overflow question is the same and led me to a useful solution. Unfortunately it's not officially supported. https://stackoverflow.com/questions/72006709/how-do-i-get-the-c-standard-flag-as-a-string-in-cmake
Please consider making this an officially supported variable.