Change the default build type to MinSizeRel.
This changes the output size of the executable from 52K to 32K for GCC 4.6.3.
This commit is contained in:
parent
a91673be3a
commit
4c9c9dde85
@ -6,7 +6,7 @@ endif(COMMAND cmake_policy)
|
||||
project( tmux-mem-cpu-load )
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING
|
||||
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
|
||||
FORCE)
|
||||
endif(NOT CMAKE_BUILD_TYPE)
|
||||
|
Loading…
Reference in New Issue
Block a user