summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-28 15:18:15 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-28 15:18:15 (GMT)
commit09289aadb6934aebee01f2b8ca65c842004203c0 (patch)
treec7faa46e6b2aca0c33aefcef69a39236b1d3699f /Source/cmTarget.cxx
parent60f02a27dbdee46bb10d777c4af9991507815066 (diff)
downloadCMake-09289aadb6934aebee01f2b8ca65c842004203c0.zip
CMake-09289aadb6934aebee01f2b8ca65c842004203c0.tar.gz
CMake-09289aadb6934aebee01f2b8ca65c842004203c0.tar.bz2
ENH: Removed "Used" mark from custom commands. It is no longer needed or checked by any generators.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index c4417bb..2f2ea4e 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -648,16 +648,6 @@ void cmTarget::TraceVSDependencies(std::string projFile,
// finished with this SF move to the next
srcFilesToProcess.pop();
}
- // mark all custom commands in the targets list of source files as used.
- for(std::vector<cmSourceFile*>::iterator i = this->SourceFiles.begin();
- i != this->SourceFiles.end(); ++i)
- {
- cmCustomCommand* cc = (*i)->GetCustomCommand();
- if(cc)
- {
- cc->SetUsed();
- }
- }
}
void cmTarget::GenerateSourceFilesFromSourceLists( cmMakefile &mf)