[CMake] Linux release build w/out asserts

Filipe Sousa filipe at ipb.pt
Wed Sep 13 09:31:46 EDT 2006


Jeroen Janssen wrote:
> Hi,
> 
> If I remember correctly you need to define NDEBUG to disable the assert macro.
> Probably Visual Studio defaults to adding the NDEBUG define to the
> Release builds itself.
> 
> Best regards,
> 

Under linux the release mode (CMAKE_BUILD_TYPE=release) defines NDEBUG
-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060913/550a59e5/signature.pgp


More information about the CMake mailing list