summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-18 17:46:00 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-18 17:46:00 (GMT)
commit78b5cca6e31c2eb3fc684652ecb03b0558a41c8e (patch)
tree0e8927ec0329f49858e11e9f8f7eafce1ced20be /Source/cmTarget.cxx
parentaa73e653aaf282ecf412e0e6092a95adc8ce3641 (diff)
downloadCMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.zip
CMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.tar.gz
CMake-78b5cca6e31c2eb3fc684652ecb03b0558a41c8e.tar.bz2
ENH: another step to the next generator still not optimized yet
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index f186c99..ffdb483 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -107,8 +107,11 @@ void cmTarget::TraceVSDependencies(std::string projFile,
}
// add in the project file itself
- srcFilesToProcess.push(projFile);
- srcFilesQueued.insert(projFile);
+ if (projFile.size())
+ {
+ srcFilesToProcess.push(projFile);
+ srcFilesQueued.insert(projFile);
+ }
// add in the library depends for custom targets
if (this->GetType() == cmTarget::UTILITY)
{