summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index ea78397..c8ad1dd 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -101,6 +101,11 @@ public:
const std::vector<std::string> &GetDepends() const {return m_Depends;}
std::vector<std::string> &GetDepends() {return m_Depends;}
+ /**
+ * Get the source name without last extension
+ */
+ const std::string& GetSourceNameWithoutLastExtension();
+
private:
std::map<cmStdString,cmStdString> m_Properties;
cmCustomCommand *m_CustomCommand;
@@ -108,6 +113,7 @@ private:
std::string m_SourceName;
std::string m_SourceExtension;
std::vector<std::string> m_Depends;
+ std::string m_SourceNameWithoutLastExtension;
};
#endif