summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-04 18:06:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-04 18:12:47 (GMT)
commit971653b767f2e5e81085c525c94d5e596474aa88 (patch)
tree93fc5f62c98c5d6380de02a44f3e6ef690dfe838 /Source/cmLocalNinjaGenerator.h
parent0c0ef9e7b7016f8ce6310c30660151b15e062a93 (diff)
downloadCMake-971653b767f2e5e81085c525c94d5e596474aa88.zip
CMake-971653b767f2e5e81085c525c94d5e596474aa88.tar.gz
CMake-971653b767f2e5e81085c525c94d5e596474aa88.tar.bz2
cmLocalGenerator: Add format option to ConvertToLinkReference
Replace the hard-coded SHELL output format with an optional argument.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r--Source/cmLocalNinjaGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h
index b3d3b6b..8b26806 100644
--- a/Source/cmLocalNinjaGenerator.h
+++ b/Source/cmLocalNinjaGenerator.h
@@ -97,7 +97,8 @@ public:
void AppendCustomCommandDeps(const cmCustomCommand *cc,
cmNinjaDeps &ninjaDeps);
- virtual std::string ConvertToLinkReference(std::string const& lib);
+ virtual std::string ConvertToLinkReference(std::string const& lib,
+ OutputFormat format = SHELL);
protected: