Ninja: deptype msvc for Intel's compiler on Windows
This commit is contained in:
parent
ac2acd22dd
commit
76a88888bc
|
@ -360,10 +360,11 @@ cmNinjaTargetGenerator
|
|||
|
||||
cmMakefile* mf = this->GetMakefile();
|
||||
|
||||
const bool usingMSVC = std::string("MSVC") ==
|
||||
(mf->GetDefinition("CMAKE_C_COMPILER_ID") ?
|
||||
mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") :
|
||||
mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID"));
|
||||
const std::string cId = mf->GetDefinition("CMAKE_C_COMPILER_ID")
|
||||
? mf->GetSafeDefinition("CMAKE_C_COMPILER_ID")
|
||||
: mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID");
|
||||
|
||||
const bool usingMSVC = (cId == "MSVC" || cId == "Intel");
|
||||
|
||||
// Tell ninja dependency format so all deps can be loaded into a database
|
||||
std::string deptype;
|
||||
|
|
Loading…
Reference in New Issue