summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-06-23 15:16:20 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-06-23 15:16:20 (GMT)
commita5a067fa1c188ba4c7c0428569cd1cf0b0643543 (patch)
treefb3025b8961f3607b023062d8500626c1b156e2d
parentdc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (diff)
downloadCMake-a5a067fa1c188ba4c7c0428569cd1cf0b0643543.zip
CMake-a5a067fa1c188ba4c7c0428569cd1cf0b0643543.tar.gz
CMake-a5a067fa1c188ba4c7c0428569cd1cf0b0643543.tar.bz2
removed some no longer required code
-rw-r--r--Source/cmTarget.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4cb4bb8..d2b129e 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -61,19 +61,6 @@ void cmTarget::GenerateSourceFilesFromSourceLists( cmMakefile &mf)
done = 1;
}
- // check to see if it is an existing source file in the output directory
- if (!done && cmSystemTools::GetFilenamePath(temps).empty())
- {
- std::string testName = mf.GetCurrentOutputDirectory();
- testName += "/";
- testName += temps;
- if (mf.GetSource(testName.c_str()))
- {
- m_SourceFiles.push_back(mf.GetSource(testName.c_str()));
- done = 1;
- }
- }
-
// if it wasn't a source file listed with the makefile
// see if it is a variable. This is for old CMake 1.2 compatability
// where a source list would be passed into here, by making it