[Exherbo-dev] Set CMake build type as build_option

Bo Ørsted Andresen zlin at exherbo.org
Tue Apr 19 19:58:24 UTC 2016


On Sat, Apr 16, 2016 at 12:39:00PM +0200, Niels Ole Salscheider wrote:
[...]
> It would therefore make sense to set the build type to the right value so that 
> these flags can be included. In that case we would also have to set the default 
> values of all CMAKE_C{,XX}_FLAGS_$TYPE variables to sensible values that do 
> not include any -O flags. CMAKE_CXX_FLAGS_RELEASE would for example only 
> contain "-DNDEBUG".
> 
> Bernd Steinhauser proposed that we should set the CMake build type based on a 
> build_option. What do you think?

Why a build_option? Why not a regular suboption or option?

--
Bo Ørsted Andresen



More information about the Exherbo-dev mailing list