diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 16:32:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:14 (GMT) |
commit | dc510919443eced785ea972c2a7433c440dacd4f (patch) | |
tree | 6f8fdb3831b5a4cead1d3dac30eb475b75280bf8 /Source/cmLocalCommonGenerator.h | |
parent | 76833149ec9f7d8605df901deceedc4b9c1c673a (diff) | |
download | CMake-dc510919443eced785ea972c2a7433c440dacd4f.zip CMake-dc510919443eced785ea972c2a7433c440dacd4f.tar.gz CMake-dc510919443eced785ea972c2a7433c440dacd4f.tar.bz2 |
Common: Use a string instead of enum for WorkingDirectory
Diffstat (limited to 'Source/cmLocalCommonGenerator.h')
-rw-r--r-- | Source/cmLocalCommonGenerator.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmLocalCommonGenerator.h b/Source/cmLocalCommonGenerator.h index 9012afd..9454739 100644 --- a/Source/cmLocalCommonGenerator.h +++ b/Source/cmLocalCommonGenerator.h @@ -30,21 +30,18 @@ class cmLocalCommonGenerator : public cmLocalGenerator { public: cmLocalCommonGenerator(cmGlobalGenerator* gg, cmMakefile* mf, - cmOutputConverter::RelativeRoot wd); + std::string const& wd); ~cmLocalCommonGenerator() CM_OVERRIDE; std::string const& GetConfigName() { return this->ConfigName; } - cmOutputConverter::RelativeRoot GetWorkingDirectory() const - { - return this->WorkingDirectory; - } + std::string GetWorkingDirectory() const { return this->WorkingDirectory; } std::string GetTargetFortranFlags(cmGeneratorTarget const* target, std::string const& config) CM_OVERRIDE; protected: - cmOutputConverter::RelativeRoot WorkingDirectory; + std::string WorkingDirectory; void SetConfigName(); std::string ConfigName; |