summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-27 21:05:43 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-27 21:05:43 (GMT)
commit94f0eca6897dcaff3d109cea78510d439adbb128 (patch)
treebfcf1ef729f7fd7e9641843cd1b57f0c7a267ddf /Source/cmLocalVisualStudioGenerator.h
parent8302ea66d2b385c6161c69b0afd28d64dd44f135 (diff)
downloadCMake-94f0eca6897dcaff3d109cea78510d439adbb128.zip
CMake-94f0eca6897dcaff3d109cea78510d439adbb128.tar.gz
CMake-94f0eca6897dcaff3d109cea78510d439adbb128.tar.bz2
BUG: fix #5326: source files with the same name in different groups lead to colliding object file names
Alex
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.h')
-rw-r--r--Source/cmLocalVisualStudioGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.h b/Source/cmLocalVisualStudioGenerator.h
index 9528fd4..64ce01d 100644
--- a/Source/cmLocalVisualStudioGenerator.h
+++ b/Source/cmLocalVisualStudioGenerator.h
@@ -46,6 +46,11 @@ protected:
// Safe object file name generation.
void ComputeObjectNameRequirements(std::vector<cmSourceGroup> const&);
bool SourceFileCompiles(const cmSourceFile* sf);
+ void CountObjectNames(const std::vector<cmSourceGroup>& groups,
+ std::map<cmStdString, int>& count);
+ void InsertNeedObjectNames(const std::vector<cmSourceGroup>& groups,
+ std::map<cmStdString, int>& count);
+
std::set<const cmSourceFile*> NeedObjectName;
};