Merge topic 'clang-cl-compiler'

3d8356d Clang: Support Windows variants for GNU and MSVC (#13035, #14458)
51ab85c CMakeDetermineCompilerId: Add notion of "simulated" id/version
be10826 CMakeDetermineCompilerId: Fix local var init
This commit is contained in:
Brad King
2013-10-08 10:58:56 -04:00
committed by CMake Topic Stage
14 changed files with 155 additions and 14 deletions
+22
View File
@@ -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>.",