summaryrefslogtreecommitdiff
path: root/Source/cmLocalCommonGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 18:32:49 +0200
committerStephen Kelly <steveire@gmail.com>2016-09-19 21:36:14 +0200
commitdc510919443eced785ea972c2a7433c440dacd4f (patch)
tree6f8fdb3831b5a4cead1d3dac30eb475b75280bf8 /Source/cmLocalCommonGenerator.h
parent76833149ec9f7d8605df901deceedc4b9c1c673a (diff)
downloadcmake-dc510919443eced785ea972c2a7433c440dacd4f.tar.gz
Common: Use a string instead of enum for WorkingDirectory
Diffstat (limited to 'Source/cmLocalCommonGenerator.h')
-rw-r--r--Source/cmLocalCommonGenerator.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmLocalCommonGenerator.h b/Source/cmLocalCommonGenerator.h
index 9012afd4bd..9454739e5c 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;