summaryrefslogtreecommitdiff
path: root/Source/cmGhsMultiTargetGenerator.h
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-01-05 11:01:21 -0500
committerFred Baksik <frodak17@gmail.com>2019-01-16 10:41:27 -0500
commit595932c4f0570ab6bdef0a50a321877ffa9c50e4 (patch)
tree1f104faee6672e08eaa34fcc179a21a614bb7848 /Source/cmGhsMultiTargetGenerator.h
parent2ed2d6b46f9fb8f0742ce60bef16f1d636008136 (diff)
downloadcmake-595932c4f0570ab6bdef0a50a321877ffa9c50e4.tar.gz
GHS: Update the link line processing
-- add missing executable linker libs from: CMAKE_C_STANDARD_LIBRARIES -- add missed transitive link libraries -- add skipped library linker options -- The linker expects -l../relative/path/to/lib.a to be relative to the top-level project Because there can be multiple top-level projects convert the path to an absolute path to target
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.h')
-rw-r--r--Source/cmGhsMultiTargetGenerator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.h b/Source/cmGhsMultiTargetGenerator.h
index 45234988b2..df1c68381b 100644
--- a/Source/cmGhsMultiTargetGenerator.h
+++ b/Source/cmGhsMultiTargetGenerator.h
@@ -74,8 +74,7 @@ private:
void WriteIncludes(std::ostream& fout, const std::string& config,
const std::string& language);
- void WriteTargetLinkLibraries(std::ostream& fout, std::string const& config,
- std::string const& language);
+ void WriteTargetLinkLine(std::ostream& fout, std::string const& config);
void WriteCustomCommands(std::ostream& fout);
void WriteCustomCommandsHelper(
std::ostream& fout, std::vector<cmCustomCommand> const& commandsSet,