[Cmake] file/project specific compile flags

Phil Pritchett p . pritchett at 2d3 . com
Tue, 30 Oct 2001 09:06:11 -0000


Well you could easily add build-specific macro definitions to the templates
but its going to be a bit of a pain to add the #pragma to every file in the
project.


> -----Original Message-----
> From: Andrew Fitzgibbon - External 
> Sent: Monday, October 29, 2001 5:23 PM
> To: 'Cmake Mailing List (E-mail)'; 'VXL Mailing List (E-mail)'
> Subject: RE: [Cmake] file/project specific compile flags
> 
> 
> 
> It would certainly be nice if cmake allowed it, but
> you could use James' suggestion if cmake provides
> some sort of predefined symbol that allows buil
> switching -- does it?
> 
> e.g.
> 
> #ifdef CMAKE_BUILD_RELWITHDEBINFO
> ...
>