summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GHS-C.cmake
blob: a825b0bbae16840747d2d0fbf67dd34db0b7d38b (plain)
1
2
3
4
5
6
7
8
9
10
include(Compiler/GHS)

set(CMAKE_C_VERBOSE_FLAG "-v")
set(CMAKE_C_OUTPUT_EXTENSION ".o")

string(APPEND CMAKE_C_FLAGS_INIT " ")
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -Odebug -g")
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -Ospace")
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -O")
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -O -g")