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

set(CMAKE_CXX_VERBOSE_FLAG "-v")
set(CMAKE_CXX_OUTPUT_EXTENSION ".o")

string(APPEND CMAKE_CXX_FLAGS_INIT " ")
string(APPEND CMAKE_CXX_FLAGS_DEBUG_INIT " -Odebug -g")
string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -Ospace")
string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -O")
string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " -O -g")