diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-13 15:21:30 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-07-13 15:21:30 (GMT) |
commit | aa47caab2db3961bfdd53036e5637df208b319d4 (patch) | |
tree | 1bd23995ec567a67fe8cccadd3750a215ea48829 /Source/cmMakefile.h | |
parent | 1e72091e8631f1a94262a1a10b58d6b0a975db01 (diff) | |
download | CMake-aa47caab2db3961bfdd53036e5637df208b319d4.zip CMake-aa47caab2db3961bfdd53036e5637df208b319d4.tar.gz CMake-aa47caab2db3961bfdd53036e5637df208b319d4.tar.bz2 |
FIX: apply patch from bug# 1965
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index a6d42f4..000133e 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -162,7 +162,7 @@ public: * Add an executable to the build. */ cmTarget* AddExecutable(const char *exename, - const std::vector<std::string> &srcs); + const std::vector<std::string> &srcs); /** * Add a utility to the build. A utiltity target is a command that @@ -200,15 +200,15 @@ public: */ std::vector<std::string>& GetLinkDirectories() { - return m_LinkDirectories; + return m_LinkDirectories; } const std::vector<std::string>& GetLinkDirectories() const { - return m_LinkDirectories; + return m_LinkDirectories; } void SetLinkDirectories(const std::vector<std::string>& vec) { - m_LinkDirectories = vec; + m_LinkDirectories = vec; } /** @@ -268,7 +268,7 @@ public: */ const char* GetProjectName() { - return m_ProjectName.c_str(); + return m_ProjectName.c_str(); } /** @@ -280,7 +280,7 @@ public: /** * Add a source group for consideration when adding a new source. */ - void AddSourceGroup(const char* name, const char* regex=0); + void AddSourceGroup(const char* name, const char* regex=0, const char* parent=0); /** * Add an auxiliary directory to the build. @@ -310,12 +310,12 @@ public: void SetHomeDirectory(const char* dir); const char* GetHomeDirectory() const { - return m_cmHomeDirectory.c_str(); + return m_cmHomeDirectory.c_str(); } void SetHomeOutputDirectory(const char* lib); const char* GetHomeOutputDirectory() const { - return m_HomeOutputDirectory.c_str(); + return m_HomeOutputDirectory.c_str(); } //@} @@ -394,7 +394,7 @@ public: } const char* GetComplainRegularExpression() { - return m_ComplainFileRegularExpression.c_str(); + return m_ComplainFileRegularExpression.c_str(); } /** @@ -409,15 +409,15 @@ public: */ std::vector<std::string>& GetIncludeDirectories() { - return m_IncludeDirectories; + return m_IncludeDirectories; } const std::vector<std::string>& GetIncludeDirectories() const { - return m_IncludeDirectories; + return m_IncludeDirectories; } void SetIncludeDirectories(const std::vector<std::string>& vec) { - m_IncludeDirectories = vec; + m_IncludeDirectories = vec; } /** Expand out any arguements in the vector that have ; separated @@ -554,7 +554,7 @@ public: * Copy file but change lines acording to ConfigureString */ int ConfigureFile(const char* infile, const char* outfile, - bool copyonly, bool atOnly, bool escapeQuotes); + bool copyonly, bool atOnly, bool escapeQuotes); /** * find what source group this source is in |