mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 07:41:15 +00:00
Skip VS <= 7.1 dependency analysis for VS >= 8
Commit 1a0c166
(Store direct dependencies in solutions for VS >= 8,
2010-08-20) disabled use of VS-specific global dependency analysis.
Avoid perfoming the analysis at all when it is not needed. This also
prevents creation of bogus and unused '_UTILITY' targets since they are
not needed for dependencies.
This commit is contained in:
parent
fd614e60b5
commit
08a31885c1
@ -288,6 +288,14 @@ cmGlobalVisualStudio8Generator
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
bool cmGlobalVisualStudio8Generator::ComputeTargetDepends()
|
||||||
|
{
|
||||||
|
// Skip over the cmGlobalVisualStudioGenerator implementation!
|
||||||
|
// We do not need the support that VS <= 7.1 needs.
|
||||||
|
return this->cmGlobalGenerator::ComputeTargetDepends();
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmGlobalVisualStudio8Generator::WriteProjectDepends(
|
void cmGlobalVisualStudio8Generator::WriteProjectDepends(
|
||||||
std::ostream& fout, const char*, const char*, cmTarget& t)
|
std::ostream& fout, const char*, const char*, cmTarget& t)
|
||||||
|
@ -78,6 +78,7 @@ protected:
|
|||||||
virtual void WriteProjectConfigurations(std::ostream& fout,
|
virtual void WriteProjectConfigurations(std::ostream& fout,
|
||||||
const char* name,
|
const char* name,
|
||||||
bool partOfDefaultBuild);
|
bool partOfDefaultBuild);
|
||||||
|
virtual bool ComputeTargetDepends();
|
||||||
virtual void WriteProjectDepends(std::ostream& fout, const char* name,
|
virtual void WriteProjectDepends(std::ostream& fout, const char* name,
|
||||||
const char* path, cmTarget &t);
|
const char* path, cmTarget &t);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user