[Cmake] CMake 1.6 beta problem
Amitha Perera
perera at cs.rpi.edu
Wed Jan 22 14:31:28 EST 2003
On Wed 22 Jan 2003, Ian Scott wrote:
> I think that this should be
>
> CMAKE_CXX_FLAGS_DEBUG -g
> CMAKE_CXX_FLAGS_MINSIZEREL -Os
> CMAKE_CXX_FLAGS_RELEASE -O3
> CMAKE_CXX_FLAGS_RELWITHDEBINFO -O2 -g
I'm not sure how to invoke these "pre-set compile modes" in an Unix
environment. If such a mechanism exists, then perhaps the release
variable could be changed to
CMAKE_CXX_FLAGS_RELEASE -O3 -DNDEBUG
to take away all the asserts and such.
More information about the CMake
mailing list