mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Add infrastructure to detect secondary compiler version information
Create a `CMAKE_<LANG>_COMPILER_VERSION_INTERNAL` variable to hold a secondary/internal compiler version number detected at the same time as the primary compiler version. This will be useful for some compilers where we need such a number to determine correct usage. Inspired-by: Stefan Andersson <tfosm@hotmail.com> Suggested-by: Norbert Lange <norbert.lange@andritz.com> Issue: #17264
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CMAKE_<LANG>_COMPILER_VERSION_INTERNAL
|
||||
--------------------------------------
|
||||
|
||||
An internal variable subject to change.
|
||||
|
||||
This is used to identify the variant of a compiler based on an internal
|
||||
version number. For some compilers this is needed to determine the
|
||||
correct usage.
|
||||
Reference in New Issue
Block a user