diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-21 17:48:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:19:52 (GMT) |
commit | c2c239e607549d6513d95c3e919b4f509733bc87 (patch) | |
tree | 1fb0c316cf903bd15945fb464dc7617d73ff335d /Source/cmGeneratorTarget.cxx | |
parent | a8c0fbcc194bca6986492278e705ff301f283378 (diff) | |
download | CMake-c2c239e607549d6513d95c3e919b4f509733bc87.zip CMake-c2c239e607549d6513d95c3e919b4f509733bc87.tar.gz CMake-c2c239e607549d6513d95c3e919b4f509733bc87.tar.bz2 |
cmGlobalGenerator: Move GeneratorTargetsType to usage site.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 713ab6a..3f600b2 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -3607,18 +3607,6 @@ std::string cmGeneratorTarget::GetPDBName(const std::string& config) const return prefix+base+".pdb"; } -bool cmStrictTargetComparison::operator()(cmTarget const* t1, - cmTarget const* t2) const -{ - int nameResult = strcmp(t1->GetName().c_str(), t2->GetName().c_str()); - if (nameResult == 0) - { - return strcmp(t1->GetMakefile()->GetCurrentBinaryDirectory(), - t2->GetMakefile()->GetCurrentBinaryDirectory()) < 0; - } - return nameResult < 0; -} - //---------------------------------------------------------------------------- struct cmGeneratorTarget::SourceFileFlags cmGeneratorTarget::GetTargetSourceFileFlags(const cmSourceFile* sf) const |