diff options
author | Brad King <brad.king@kitware.com> | 2016-06-16 14:54:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-17 18:22:28 (GMT) |
commit | 0392f72bef5f1394c2dba3740f2a701fe1a98f0d (patch) | |
tree | 5bb6a79a0a64bce356ef4f7a6d0c7df4b0e474e7 /Source/cmLocalCommonGenerator.h | |
parent | 9e4725560493fdac423102469da6dbe1779383c4 (diff) | |
download | CMake-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.h | 10 |
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; |