mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Add a CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID variable
Compilers such as MSVC and IAR may have variants that target different architectures. We have been using a `MSVC_<LANG>_ARCHITECTURE_ID` variable to hold this information for MSVC. Add an alternative with a more general name (later we can port MSVC to it too). This additional information may be needed to generate proper invocations of the compiler based on its architecture variant.
This commit is contained in:
8
Help/variable/CMAKE_LANG_COMPILER_ARCHITECTURE_ID.rst
Normal file
8
Help/variable/CMAKE_LANG_COMPILER_ARCHITECTURE_ID.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID
|
||||
-------------------------------------
|
||||
|
||||
An internal variable subject to change.
|
||||
|
||||
This is used to identify the variant of a compiler based on its target
|
||||
architecture. For some compilers this is needed to determine the correct
|
||||
usage.
|
||||
Reference in New Issue
Block a user