CMake/Help
Tyler 7c38e6bb52 Add CMAKE_<LANG>_STANDARD_LATEST variables
Add a variable to indicate the latest standard known to be supported for
each language:

* `CMAKE_C_STANDARD_LATEST`
* `CMAKE_CXX_STANDARD_LATEST`
* `CMAKE_CUDA_STANDARD_LATEST`
* `CMAKE_HIP_STANDARD_LATEST`
* `CMAKE_OBJC_STANDARD_LATEST`
* `CMAKE_OBJCXX_STANDARD_LATEST`

These variables, more generally referred to as
`CMAKE_<LANG>_STANDARD_LATEST`, are assigned an integer value which
represents the minimum between the latest version of the associated
language standard supported by the current compiler and the latest
version supported by CMake.

Add documentation for these variables in a new page called
`CMAKE_<LANG>_STANDARD_LATEST` was added under the "Variables for
Languages" section of the `cmake-variables(7)` page.

Update each compiler-specific CMake script under
`${CMAKE_ROOT}\Modules\Compiler` to manually define the relevant
`CMAKE_<LANG>_STANDARD_LATEST` variable as necessary. This will
require updating and maintaining as newer compiler versions become
recognized by CMake.

Closes: #25717
2024-04-30 11:05:03 -04:00
..
command Help: Fix cmake_path example 2024-04-26 08:49:07 -07:00
cpack_gen CPack: Enable Inno Setup generator on non-Windows hosts 2024-04-15 16:34:22 -04:00
dev Experimental: add an experimental feature gate for import std 2024-04-12 11:46:39 -04:00
envvar Help: Document ObjC/ObjC++ flag variables 2024-04-18 17:48:59 +02:00
generator Deprecate Visual Studio 12 2013 generator 2023-06-26 12:41:18 -04:00
guide Merge topic 'fix-tutorial' 2024-01-08 09:43:29 -05:00
include
manual Add CMAKE_<LANG>_STANDARD_LATEST variables 2024-04-30 11:05:03 -04:00
module Help:Check*: include CMAKE_REQUIRED_* vars to dedupe 2023-03-14 16:48:25 -04:00
policy Help: CMP0135 applies to FetchContent as well 2024-04-27 11:01:45 +10:00
prop_cache
prop_dir
prop_gbl C++26: Fix C++/CUDA/HIP compile feature support 2024-04-09 11:38:59 +03:00
prop_inst Help: Convert http URLs to https 2024-03-07 09:42:45 -05:00
prop_sf CMP0163: Make GENERATED source file property globally visible 2024-03-29 08:54:11 -04:00
prop_test add_test: Optionally use a launcher for tests running in-project targets 2023-12-13 10:20:43 -05:00
prop_tgt Help: Update cmake-buildsystem(7) build and usage requirements 2024-04-24 09:06:32 -04:00
release Add CMAKE_<LANG>_STANDARD_LATEST variables 2024-04-30 11:05:03 -04:00
variable Add CMAKE_<LANG>_STANDARD_LATEST variables 2024-04-30 11:05:03 -04:00
index.rst Help: add a manpage for cxxmodule support 2023-10-02 10:17:31 -04:00