diff options
author | Fred Baksik <frodak17@gmail.com> | 2019-01-05 16:01:21 (GMT) |
---|---|---|
committer | Fred Baksik <frodak17@gmail.com> | 2019-01-16 15:41:27 (GMT) |
commit | 595932c4f0570ab6bdef0a50a321877ffa9c50e4 (patch) | |
tree | 1f104faee6672e08eaa34fcc179a21a614bb7848 /Source/cmGhsMultiTargetGenerator.h | |
parent | 2ed2d6b46f9fb8f0742ce60bef16f1d636008136 (diff) | |
download | CMake-595932c4f0570ab6bdef0a50a321877ffa9c50e4.zip CMake-595932c4f0570ab6bdef0a50a321877ffa9c50e4.tar.gz CMake-595932c4f0570ab6bdef0a50a321877ffa9c50e4.tar.bz2 |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.h b/Source/cmGhsMultiTargetGenerator.h index 4523498..df1c683 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, |