summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCommonGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-16 14:54:20 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-17 18:22:28 (GMT)
commit0392f72bef5f1394c2dba3740f2a701fe1a98f0d (patch)
tree5bb6a79a0a64bce356ef4f7a6d0c7df4b0e474e7 /Source/cmLocalCommonGenerator.h
parent9e4725560493fdac423102469da6dbe1779383c4 (diff)
downloadCMake-0392f72bef5f1394c2dba3740f2a701fe1a98f0d.zip
CMake-0392f72bef5f1394c2dba3740f2a701fe1a98f0d.tar.gz
CMake-0392f72bef5f1394c2dba3740f2a701fe1a98f0d.tar.bz2
Refactor Makefile/Ninja tool working directory storage
Move cmCommonTargetGenerator::WorkingDirectory to cmLocalCommonGenerator and add an access method.
Diffstat (limited to 'Source/cmLocalCommonGenerator.h')
-rw-r--r--Source/cmLocalCommonGenerator.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmLocalCommonGenerator.h b/Source/cmLocalCommonGenerator.h
index d282054..10380db 100644
--- a/Source/cmLocalCommonGenerator.h
+++ b/Source/cmLocalCommonGenerator.h
@@ -22,12 +22,20 @@ class cmCommonTargetGenerator;
class cmLocalCommonGenerator : public cmLocalGenerator
{
public:
- cmLocalCommonGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
+ cmLocalCommonGenerator(cmGlobalGenerator* gg, cmMakefile* mf,
+ cmOutputConverter::RelativeRoot wd);
~cmLocalCommonGenerator();
std::string const& GetConfigName() { return this->ConfigName; }
+ cmOutputConverter::RelativeRoot GetWorkingDirectory() const
+ {
+ return this->WorkingDirectory;
+ }
+
protected:
+ cmOutputConverter::RelativeRoot WorkingDirectory;
+
void SetConfigName();
std::string ConfigName;