summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-07 19:14:29 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-08 21:47:16 (GMT)
commitcc6b948e5ea86996fe65014ce8f97bf92b46e4c0 (patch)
tree4d1c50837bb5884d374d795b65ffdb7d9ecc226e /Source/cmGeneratorTarget.h
parent52052ef88b6f46a12c8430395ae8b419971fcb35 (diff)
downloadCMake-cc6b948e5ea86996fe65014ce8f97bf92b46e4c0.zip
CMake-cc6b948e5ea86996fe65014ce8f97bf92b46e4c0.tar.gz
CMake-cc6b948e5ea86996fe65014ce8f97bf92b46e4c0.tar.bz2
cmGeneratorTarget: factor out common part of AddSources commands
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 173f15d..715220e 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -540,6 +540,8 @@ public:
std::string GetFortranModuleDirectory() const;
private:
+ void AddSourceCommon(const std::string& src);
+
std::string CreateFortranModuleDirectory() const;
mutable bool FortranModuleDirectoryCreated;
mutable std::string FortranModuleDirectory;