diff options
| author | Brad King <brad.king@kitware.com> | 2021-10-28 16:10:33 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2021-10-28 16:27:00 (GMT) |
| commit | 22f804e0ec1f827a11396394206e2cd5834e5522 (patch) | |
| tree | 152dba5cc2b906c3753d71808bfe98c80679c87b /Help/guide/tutorial/Step10/tutorial.cxx | |
| parent | 28a033cc7de056d1a74857606397bb294ebe27ac (diff) | |
| download | CMake-22f804e0ec1f827a11396394206e2cd5834e5522.zip CMake-22f804e0ec1f827a11396394206e2cd5834e5522.tar.gz CMake-22f804e0ec1f827a11396394206e2cd5834e5522.tar.bz2 | |
MSVC: Refactor C compile features table for C90, C99, and C11
The custom "no modes" `cmake_record_c_compile_features` implementation
should only be used in `cl` versions prior to 19.27 because they had no
`-std:c*` flags for C standards. For 19.27 we need a different custom
implementation to account for partial C11 support. For 19.28 and above
we can use the default implementation through the `*__HAS_FULL_SUPPORT`
settings.
We already use this pattern in the MSVC C++ compile feature table.
Diffstat (limited to 'Help/guide/tutorial/Step10/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions
