summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestOBJCXXCompiler.cmake
diff options
context:
space:
mode:
authorTyler <tylerbrawl@gmail.com>2024-03-20 21:42:15 (GMT)
committerTyler Nichols <tylerbrawl@gmail.com>2024-03-29 20:27:20 (GMT)
commit4d27ef55bdb3f74370df9b0ec573869d0d43c398 (patch)
tree603ef15c32caf0f38dd0cbde5c62790ca0eee4b2 /Modules/CMakeTestOBJCXXCompiler.cmake
parentcff8aefc6aa5fcf5c659b2c40027c86618426005 (diff)
downloadCMake-4d27ef55bdb3f74370df9b0ec573869d0d43c398.zip
CMake-4d27ef55bdb3f74370df9b0ec573869d0d43c398.tar.gz
CMake-4d27ef55bdb3f74370df9b0ec573869d0d43c398.tar.bz2
Modules: Factor out helpers for GNU language standard flags
Add the following macros to `${CMAKE_ROOT}\Modules\Compiler\GNU.cmake`: * `__compiler_gnu_c_standards()` * `__compiler_gnu_cxx_standards()` These macros are used to define the `CMAKE_<LANG><STANDARD>_STANDARD_COMPILE_OPTION` and `CMAKE_<LANG><STANDARD>_EXTENSION_COMPILE_OPTION` variables for C- and C++-based languages for GCC. The macros are similar to the existing `__compiler_clang_cxx_standards()` macro found in `${CMAKE_ROOT}\Modules\Compiler\Clang.cmake`.
Diffstat (limited to 'Modules/CMakeTestOBJCXXCompiler.cmake')
0 files changed, 0 insertions, 0 deletions