summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GHS.cmake
diff options
context:
space:
mode:
authorGeoff Viola <geoffrey.viola@asirobots.com>2016-03-27 03:28:31 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-28 15:44:58 (GMT)
commit230d50ed1a1bbeac3b840ecc2d45c1b8710c8be4 (patch)
treed86149b434e3168bc833589914b5ce7341300aed /Modules/Compiler/GHS.cmake
parentd29004756fa314119a91821a14eef81a2ffcf40a (diff)
downloadCMake-230d50ed1a1bbeac3b840ecc2d45c1b8710c8be4.zip
CMake-230d50ed1a1bbeac3b840ecc2d45c1b8710c8be4.tar.gz
CMake-230d50ed1a1bbeac3b840ecc2d45c1b8710c8be4.tar.bz2
GHS: Factor out compiler information shared among languages
Move common information in `Modules/Compiler/GHS-*.cmake` over to a common `Modules/Compiler/GHS.cmake` and include it.
Diffstat (limited to 'Modules/Compiler/GHS.cmake')
-rw-r--r--Modules/Compiler/GHS.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Compiler/GHS.cmake b/Modules/Compiler/GHS.cmake
new file mode 100644
index 0000000..cfc29c2
--- /dev/null
+++ b/Modules/Compiler/GHS.cmake
@@ -0,0 +1,6 @@
+if(__COMPILER_GHS)
+ return()
+endif()
+set(__COMPILER_GHS 1)
+
+set(CMAKE_EXECUTABLE_SUFFIX ".as")