diff options
author | Brad King <brad.king@kitware.com> | 2014-03-04 18:04:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-04 18:04:02 (GMT) |
commit | 0c0ef9e7b7016f8ce6310c30660151b15e062a93 (patch) | |
tree | 5fbd4980f09f5ca26cd827a5f635be7befd8f38c /Source/cmLocalNinjaGenerator.cxx | |
parent | 02bebd60e9255b6e3eb4bbd6208b4c5cd8f5da40 (diff) | |
download | CMake-0c0ef9e7b7016f8ce6310c30660151b15e062a93.zip CMake-0c0ef9e7b7016f8ce6310c30660151b15e062a93.tar.gz CMake-0c0ef9e7b7016f8ce6310c30660151b15e062a93.tar.bz2 |
cmLocalGenerator: Add format option to ConvertToIncludeReference
Replace the hard-coded SHELL output format with an optional argument.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index cd12c9d..c989cfb 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -149,9 +149,10 @@ cmLocalNinjaGenerator::ConvertToLinkReference(std::string const& lib) } std::string -cmLocalNinjaGenerator::ConvertToIncludeReference(std::string const& path) +cmLocalNinjaGenerator::ConvertToIncludeReference(std::string const& path, + OutputFormat format) { - return this->Convert(path.c_str(), HOME_OUTPUT, SHELL); + return this->Convert(path.c_str(), HOME_OUTPUT, format); } //---------------------------------------------------------------------------- |