mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge topic 'clang-cl-compiler'
3d8356dClang: Support Windows variants for GNU and MSVC (#13035, #14458)51ab85cCMakeDetermineCompilerId: Add notion of "simulated" id/versionbe10826CMakeDetermineCompilerId: Fix local var init
This commit is contained in:
@@ -1674,6 +1674,28 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
|
||||
false,
|
||||
"Variables for Languages");
|
||||
|
||||
cm->DefineProperty
|
||||
("CMAKE_<LANG>_SIMULATE_ID", cmProperty::VARIABLE,
|
||||
"Identification string of \"simulated\" compiler.",
|
||||
"Some compilers simulate other compilers to serve as drop-in "
|
||||
"replacements. "
|
||||
"When CMake detects such a compiler it sets this variable to what "
|
||||
"would have been the CMAKE_<LANG>_COMPILER_ID for the simulated "
|
||||
"compiler.",
|
||||
false,
|
||||
"Variables for Languages");
|
||||
|
||||
cm->DefineProperty
|
||||
("CMAKE_<LANG>_SIMULATE_VERSION", cmProperty::VARIABLE,
|
||||
"Version string of \"simulated\" compiler.",
|
||||
"Some compilers simulate other compilers to serve as drop-in "
|
||||
"replacements. "
|
||||
"When CMake detects such a compiler it sets this variable to what "
|
||||
"would have been the CMAKE_<LANG>_COMPILER_VERSION for the simulated "
|
||||
"compiler.",
|
||||
false,
|
||||
"Variables for Languages");
|
||||
|
||||
cm->DefineProperty
|
||||
("CMAKE_<LANG>_SIZEOF_DATA_PTR", cmProperty::VARIABLE,
|
||||
"Size of pointer-to-data types for language <LANG>.",
|
||||
|
||||
Reference in New Issue
Block a user