diff options
author | Geoff Viola <geoffrey.viola@asirobots.com> | 2016-04-24 19:47:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-25 14:46:09 (GMT) |
commit | 1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82 (patch) | |
tree | 5b839beb4d5ca5aeaccccd4c42ea623a629e9470 /Source/cmGhsMultiTargetGenerator.h | |
parent | 657a446175c1b61999a77958c5b7480f8be041a5 (diff) | |
download | CMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.zip CMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.tar.gz CMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.tar.bz2 |
GHS: Fix handling of duplicate source filenames (#16046)
Green Hills MULTI project files must specify explicitly distinct object
file names for source files with the same name.
Diffstat (limited to 'Source/cmGhsMultiTargetGenerator.h')
-rw-r--r-- | Source/cmGhsMultiTargetGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGhsMultiTargetGenerator.h b/Source/cmGhsMultiTargetGenerator.h index e85e412..3a13600 100644 --- a/Source/cmGhsMultiTargetGenerator.h +++ b/Source/cmGhsMultiTargetGenerator.h @@ -88,6 +88,8 @@ private: WriteCustomCommandsHelper(std::vector<cmCustomCommand> const &commandsSet, cmTarget::CustomCommandType commandType); void WriteSources(std::vector<cmSourceFile *> const &objectSources); + static std::map<const cmSourceFile *, std::string> + GetObjectNames(const std::vector<cmSourceFile *> &objectSources); static void WriteObjectLangOverride(cmGeneratedFileStream *fileStream, cmSourceFile *sourceFile); static void WriteObjectDir(cmGeneratedFileStream *fileStream, |