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:
Matt McCormick 2013-07-15 23:23:11 +00:00
parent a91673be3a
commit 4c9c9dde85

@ -6,7 +6,7 @@ endif(COMMAND cmake_policy)
project( tmux-mem-cpu-load ) project( tmux-mem-cpu-load )
if(NOT CMAKE_BUILD_TYPE) 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." "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE) FORCE)
endif(NOT CMAKE_BUILD_TYPE) endif(NOT CMAKE_BUILD_TYPE)