summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-04 20:56:32 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-06 18:02:10 (GMT)
commit20e62f74c5a030a25fe1c3a6c835d67eea152d8f (patch)
tree8b6d869534acbd674cfb6794f02887b72a917a9d /Source/cmLocalNinjaGenerator.h
parentfd93b3605bc931b5ce2386816973e106fa1ec646 (diff)
downloadCMake-20e62f74c5a030a25fe1c3a6c835d67eea152d8f.zip
CMake-20e62f74c5a030a25fe1c3a6c835d67eea152d8f.tar.gz
CMake-20e62f74c5a030a25fe1c3a6c835d67eea152d8f.tar.bz2
cmLocalGenerator: Simplify ConvertToLinkReference
Make conversion to output format the caller responsibility, so that the method only 'converts to a link reference'.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r--Source/cmLocalNinjaGenerator.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h
index 875f8c6..3061b57 100644
--- a/Source/cmLocalNinjaGenerator.h
+++ b/Source/cmLocalNinjaGenerator.h
@@ -76,9 +76,7 @@ public:
void AppendCustomCommandDeps(cmCustomCommandGenerator const& ccg,
cmNinjaDeps& ninjaDeps);
- std::string ConvertToLinkReference(std::string const& lib,
- cmOutputConverter::OutputFormat format =
- cmOutputConverter::SHELL) CM_OVERRIDE;
+ std::string ConvertToLinkReference(std::string const& lib) CM_OVERRIDE;
void ComputeObjectFilenames(
std::map<cmSourceFile const*, std::string>& mapping,