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 fac8da7a0c
commit a7200d2364

@ -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)