[CMake] BOOL type

Alexander Neundorf a.neundorf-work at gmx.net
Mon Dec 17 15:08:55 EST 2007


On Monday 17 December 2007, Brandon Van Every wrote:
> On Dec 17, 2007 2:19 PM, Alan W. Irwin <irwin at beluga.phys.uvic.ca> wrote:
> > To supplement Brandon's Boolean wishlist, I would like to see some way to
> > specify a non-default precedence of Boolean operators.  Most languages
> > use parentheses for this, and ideally that would be true for CMake as
> > well.
> >
> > Perhaps CMake already has this feature but it is not documented?
>
> No it doesn't.  CMake doesn't accept sub-parentheses in conditionals.
> I found this out when automatically translating a pile of parentheses
> from Autoconf.  Aside from being convenient to programmers, it would

Yes, this would indeed be very nice.

Alex


More information about the CMake mailing list