diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-23 20:20:36 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-23 20:20:36 (GMT) |
commit | aff8c7bcd6fe751974c2e82147d1a29928236209 (patch) | |
tree | 9be11469b702704fb44204b91ca5e50e6d1a9a41 /Source/cmMakefile.h | |
parent | 0b7d154ebd1e2ab713a8f5018e26c4b0d8b823c4 (diff) | |
download | CMake-aff8c7bcd6fe751974c2e82147d1a29928236209.zip CMake-aff8c7bcd6fe751974c2e82147d1a29928236209.tar.gz CMake-aff8c7bcd6fe751974c2e82147d1a29928236209.tar.bz2 |
ENH: Add GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include directories and get all sorts of things. Closes Bug #25 - Get_CMAKE_PROPERTIES
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 39c937a..c35cf43 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -214,6 +214,22 @@ public: void AddLinkDirectory(const char*); /** + * Get the list of link directories + */ + std::vector<std::string>& GetLinkDirectories() + { + return m_LinkDirectories; + } + const std::vector<std::string>& GetLinkDirectories() const + { + return m_LinkDirectories; + } + void SetLinkDirectories(const std::vector<std::string>& vec) + { + m_LinkDirectories = vec; + } + + /** * Add a subdirectory to the build. */ void AddSubDirectory(const char*, bool includeTopLevel=true, bool preorder = false); @@ -393,6 +409,10 @@ public: { m_IncludeFileRegularExpression = regex; } + const char* GetIncludeRegularExpression() + { + return m_IncludeFileRegularExpression.c_str(); + } /** * Set a regular expression that include files that are not found @@ -428,6 +448,10 @@ public: { return m_IncludeDirectories; } + void SetIncludeDirectories(const std::vector<std::string>& vec) + { + m_IncludeDirectories = vec; + } /** Expand out any arguements in the vector that have ; separated * strings into multiple arguements. A new vector is created |