summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-06-11 20:47:15 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-06-11 20:47:15 (GMT)
commitead17fbd9d39ecef071c9359821e7781a69c7328 (patch)
tree27879ec9f4bd05bd2d81fe2423d1cbc0ad1975cb /Source
parente686bb9ee18d2dd1c0316d6b4c343ba462cc9027 (diff)
downloadCMake-ead17fbd9d39ecef071c9359821e7781a69c7328.zip
CMake-ead17fbd9d39ecef071c9359821e7781a69c7328.tar.gz
CMake-ead17fbd9d39ecef071c9359821e7781a69c7328.tar.bz2
added some const versions of get methods
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c7aee42..a71fb20 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -350,6 +350,7 @@ public:
* Get the list of targets
*/
cmTargets &GetTargets() { return m_Targets; }
+ const cmTargets &GetTargets() const { return m_Targets; }
/**
* Get a list of the build subdirectories.
@@ -366,6 +367,10 @@ public:
{
return m_IncludeDirectories;
}
+ const std::vector<std::string>& GetIncludeDirectories() const
+ {
+ return m_IncludeDirectories;
+ }
/**
* Get a list of link directories in the build.