summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCommonGenerator.cxx
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.cxx
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.cxx')
-rw-r--r--Source/cmLocalCommonGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalCommonGenerator.cxx b/Source/cmLocalCommonGenerator.cxx
index 3ebd128..6cfeb10 100644
--- a/Source/cmLocalCommonGenerator.cxx
+++ b/Source/cmLocalCommonGenerator.cxx
@@ -13,9 +13,10 @@
#include "cmMakefile.h"
-cmLocalCommonGenerator::cmLocalCommonGenerator(cmGlobalGenerator* gg,
- cmMakefile* mf)
+cmLocalCommonGenerator::cmLocalCommonGenerator(
+ cmGlobalGenerator* gg, cmMakefile* mf, cmOutputConverter::RelativeRoot wd)
: cmLocalGenerator(gg, mf)
+ , WorkingDirectory(wd)
{
}