summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-04 18:12:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-06 07:15:57 (GMT)
commit1cff330b0fcd635f47047bd1a2d94f344e88c0f9 (patch)
tree99a9178fb71371de54687505730d12b52760fba3 /Source/cmTarget.cxx
parent2f1bd62b2308c234b5c4bc749afa27c7b616bdf1 (diff)
downloadCMake-1cff330b0fcd635f47047bd1a2d94f344e88c0f9.zip
CMake-1cff330b0fcd635f47047bd1a2d94f344e88c0f9.tar.gz
CMake-1cff330b0fcd635f47047bd1a2d94f344e88c0f9.tar.bz2
cmTarget: Port to cmOutputConverter.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 4436966..27c4845 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -13,7 +13,7 @@
#include "cmake.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
-#include "cmLocalGenerator.h"
+#include "cmOutputConverter.h"
#include "cmGlobalGenerator.h"
#include "cmComputeLinkInformation.h"
#include "cmListFileCache.h"
@@ -1257,14 +1257,14 @@ void cmTarget::GetTllSignatureTraces(std::ostringstream &s,
: "plain");
s << "The uses of the " << sigString << " signature are here:\n";
typedef std::vector<std::pair<TLLSignature, cmListFileContext> > Container;
- cmLocalGenerator* lg = this->GetMakefile()->GetLocalGenerator();
+ cmOutputConverter converter(this->GetMakefile()->GetStateSnapshot());
for(Container::const_iterator it = this->TLLCommands.begin();
it != this->TLLCommands.end(); ++it)
{
if (it->first == sig)
{
cmListFileContext lfc = it->second;
- lfc.FilePath = lg->Convert(lfc.FilePath, cmLocalGenerator::HOME);
+ lfc.FilePath = converter.Convert(lfc.FilePath, cmOutputConverter::HOME);
s << " * " << lfc << std::endl;
}
}