diff options
author | Brad King <brad.king@kitware.com> | 2016-05-18 09:30:55 -0400 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-05-18 09:30:55 -0400 |
commit | 570d689776761b67306fe8dc786eb36a2da4fef8 (patch) | |
tree | 14a78be593755091d619ca278f622c9af60e10d4 /Modules | |
parent | 441dd9a7e448474042c4098c7b89dda615617f3b (diff) | |
parent | d7233a0472aae1f15f4c35f214294d9baf1b5e1f (diff) | |
download | cmake-570d689776761b67306fe8dc786eb36a2da4fef8.tar.gz |
Merge topic 'ghs-shorter-object-names'
d7233a04 GHS: Use shorter object file names on collision
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/GHS-C.cmake | 1 | ||||
-rw-r--r-- | Modules/Compiler/GHS-CXX.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GHS-C.cmake b/Modules/Compiler/GHS-C.cmake index 50532ce2f5..3072715def 100644 --- a/Modules/Compiler/GHS-C.cmake +++ b/Modules/Compiler/GHS-C.cmake @@ -1,6 +1,7 @@ include(Compiler/GHS) set(CMAKE_C_VERBOSE_FLAG "-v") +set(CMAKE_C_OUTPUT_EXTENSION ".o") set(CMAKE_C_FLAGS_INIT "") set(CMAKE_C_FLAGS_DEBUG_INIT "-Odebug -g") diff --git a/Modules/Compiler/GHS-CXX.cmake b/Modules/Compiler/GHS-CXX.cmake index 2cffa0d9ca..a51591b2a4 100644 --- a/Modules/Compiler/GHS-CXX.cmake +++ b/Modules/Compiler/GHS-CXX.cmake @@ -1,6 +1,7 @@ include(Compiler/GHS) set(CMAKE_CXX_VERBOSE_FLAG "-v") +set(CMAKE_CXX_OUTPUT_EXTENSION ".o") set(CMAKE_CXX_FLAGS_INIT "") set(CMAKE_CXX_FLAGS_DEBUG_INIT "-Odebug -g") |