summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-01-05 16:01:21 (GMT)
committerFred Baksik <frodak17@gmail.com>2019-01-16 15:41:24 (GMT)
commit2ed2d6b46f9fb8f0742ce60bef16f1d636008136 (patch)
treed38c81c2e4b7bcbf38ddd2cb98eba8f050877a9e /Modules
parentead7117afda23d7cf0c1466ce5229d06240d3de0 (diff)
downloadCMake-2ed2d6b46f9fb8f0742ce60bef16f1d636008136.zip
CMake-2ed2d6b46f9fb8f0742ce60bef16f1d636008136.tar.gz
CMake-2ed2d6b46f9fb8f0742ce60bef16f1d636008136.tar.bz2
GHS: Place build system outputs per target output directives
-- Set output and object file locations -- Suffixes are no longer being forced but will now follow the target properties By default GHS tools have no suffix for executable files so CMAKE_EXECUTABLE_SUFFIX was changed to meet this behavior -- Remove #if 0 blocked out code; it has been replaced. Forcing the -relprog option has been removed from non-kernel executable targets. The default value of this option (if it is even available) is determined by the tool-chain for the specified target and platform (Some tool-chains default to -locatedprogram). The use of -relprog can have unexpected results as it cannot always produce a fully relocated executable. -- Clarify use of CMAKE_BUILD_TYPE to control build configuration
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GHS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GHS.cmake b/Modules/Compiler/GHS.cmake
index e6a867d..0583a23 100644
--- a/Modules/Compiler/GHS.cmake
+++ b/Modules/Compiler/GHS.cmake
@@ -3,6 +3,6 @@ if(__COMPILER_GHS)
endif()
set(__COMPILER_GHS 1)
-set(CMAKE_EXECUTABLE_SUFFIX ".as")
+set(CMAKE_EXECUTABLE_SUFFIX "")
set(CMAKE_LIBRARY_PATH_TERMINATOR "\n")
set(CMAKE_LIBRARY_PATH_FLAG " -L")