diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-08 10:21:39 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-10 18:38:59 (GMT) |
commit | f03d446e967af91460ff31eb52d840983b3d8cec (patch) | |
tree | e8df2117109455b620bb4744ef51358bf8436fa8 /Source/cmLinkLineComputer.cxx | |
parent | 3444105f9fe4fcee390c8d616e1a211a078a630b (diff) | |
download | CMake-f03d446e967af91460ff31eb52d840983b3d8cec.zip CMake-f03d446e967af91460ff31eb52d840983b3d8cec.tar.gz CMake-f03d446e967af91460ff31eb52d840983b3d8cec.tar.bz2 |
cmLinkLineComputer: Move FrameworkPath computation from cmLocalGenerator
Add UseWatcomQuote state, and remove corresponding method parameters.
Diffstat (limited to 'Source/cmLinkLineComputer.cxx')
-rw-r--r-- | Source/cmLinkLineComputer.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/cmLinkLineComputer.cxx b/Source/cmLinkLineComputer.cxx index 3675887..41096ef 100644 --- a/Source/cmLinkLineComputer.cxx +++ b/Source/cmLinkLineComputer.cxx @@ -136,3 +136,19 @@ std::string cmLinkLineComputer::ComputeRPath(cmComputeLinkInformation& cli) } return rpath; } + +std::string cmLinkLineComputer::ComputeFrameworkPath( + cmComputeLinkInformation& cli, std::string const& fwSearchFlag) +{ + std::string frameworkPath; + if (!fwSearchFlag.empty()) { + std::vector<std::string> const& fwDirs = cli.GetFrameworkPaths(); + for (std::vector<std::string>::const_iterator fdi = fwDirs.begin(); + fdi != fwDirs.end(); ++fdi) { + frameworkPath += fwSearchFlag; + frameworkPath += this->ConvertToOutputFormat(*fdi); + frameworkPath += " "; + } + } + return frameworkPath; +} |