summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator2.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-02-17 15:03:27 (GMT)
committerBrad King <brad.king@kitware.com>2005-02-17 15:03:27 (GMT)
commit3d9d8934262df109938c0cb5498544b311d8bac7 (patch)
tree2d668df27a201319f4046a262b7c8d82c9d7a0b6 /Source/cmLocalUnixMakefileGenerator2.h
parentcd6dd5533020357b4aa7455a17f23ddcf80b4e73 (diff)
downloadCMake-3d9d8934262df109938c0cb5498544b311d8bac7.zip
CMake-3d9d8934262df109938c0cb5498544b311d8bac7.tar.gz
CMake-3d9d8934262df109938c0cb5498544b311d8bac7.tar.bz2
ENH: Avoid generating duplicate rules for an object file. A warning about duplicate source files in a target is now generated.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index 0aad83a..ed83081 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -276,6 +276,9 @@ private:
// Set of custom rule files that have been generated.
std::set<cmStdString> m_CustomRuleFiles;
+ // Set of object file names that will be built in this directory.
+ std::set<cmStdString> m_ObjectFiles;
+
// The prefix required of a path to be converted to a relative path.
// No sequence of ../.. will ever go past this path.
std::string m_RelativePathTop;