summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 22:29:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:18 (GMT)
commit4ab2750c54adb09d147839687858aabe3cd988a7 (patch)
tree5e65bb636efca9bd1ca447d270882d6894b454b9 /Source/cmLocalGenerator.cxx
parentc8187f414bcc4668940c2e0fe40d361389efdbe5 (diff)
downloadCMake-4ab2750c54adb09d147839687858aabe3cd988a7.zip
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.gz
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.bz2
cmLocalGenerator: Add GetProjectName method.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6647894..b7833cd 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2431,6 +2431,11 @@ const char* cmLocalGenerator::GetFeature(const std::string& feature,
return 0;
}
+std::string cmLocalGenerator::GetProjectName() const
+{
+ return this->StateSnapshot.GetProjectName();
+}
+
//----------------------------------------------------------------------------
std::string
cmLocalGenerator::ConstructComment(cmCustomCommandGenerator const& ccg,