Where is the documentation of MSVC_C_ARCHITECTURE_ID and MSVC_CXX_ARCHITECTURE_ID?
I noticed that there is a variable called MSVC_[C|CXX]_ARCHITECTURE_ID
for checking the archituture of cl.exe
compiler.
For argument -A x64
, it will print x64
.
MSVC_C_ARCHITECTURE_ID = x64
MSVC_CXX_ARCHITECTURE_ID = x64
For argument -A Win32
, it will print X86
.
MSVC_C_ARCHITECTURE_ID = X86
MSVC_CXX_ARCHITECTURE_ID = X86
However, I CANNOT find the documentation about this variable in CMake Documentation. Is it deprecated? If so, who replaces it?
BTW, I want to find other similar variables for checking, for example Toolset, of cl.exe
compiler.