summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-16 13:35:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-16 13:35:32 (GMT)
commita4f0b01939ca7c69c1e31f017c6e87b642388252 (patch)
treed89ce881010661abf4fa29151c541a90210a9717 /Source/cmLocalNinjaGenerator.cxx
parent2f1c3401ec132f0672c108a2312146f39e8f017b (diff)
parent7f5ec9f109dc66bc22ac377a7fb57d9221aed56b (diff)
downloadCMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.zip
CMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.tar.gz
CMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.tar.bz2
Merge topic 'GetTargetDirectory-cmGeneratorTarget'
7f5ec9f1 cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget. 06f56d3b cmLocalUnixMakefileGenerator3: Port AppendCleanCommand to cmGeneratorTarget. c8f8f165 cmLocalUnixMakefileGenerator3: Port another API to cmGeneratorTarget. 9f299a12 cmLocalUnixMakefileGenerator3: Port API to cmGenertorTarget.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 8d71469..71d3426 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -100,10 +100,10 @@ void cmLocalNinjaGenerator::Generate()
// TODO: Picked up from cmLocalUnixMakefileGenerator3. Refactor it.
std::string cmLocalNinjaGenerator
-::GetTargetDirectory(cmTarget const& target) const
+::GetTargetDirectory(cmGeneratorTarget const* target) const
{
std::string dir = cmake::GetCMakeFilesDirectoryPostSlash();
- dir += target.GetName();
+ dir += target->GetName();
#if defined(__VMS)
dir += "_dir";
#else