Main-Is not creating executable

Bayley, Alistair Alistair.Bayley at invesco.com
Wed Jan 21 06:10:25 EST 2009


> From: libraries-bounces at haskell.org 
> [mailto:libraries-bounces at haskell.org] On Behalf Of Henning Thielemann
> Duncan Coutts schrieb:
> 
> >> But the second question still stands: can I selectively build the
> >> various targets in the .cabal file?
> > 
> > Not yet, sorry.
> 
> I use to selectively build executables depending on Cabal flags, where
> the executable section starts with
> 
> Executable test
>   If !flag(buildTests)
>     Buildable: False
> 
> 
> With cabal configure -fbuildTests I enable building them.

Cool. This morning it occurred to me that flags might be usable for
this.

Alistair
*****************************************************************
Confidentiality Note: The information contained in this message,
and any attachments, may contain confidential and/or privileged
material. It is intended solely for the person(s) or entity to
which it is addressed. Any review, retransmission, dissemination,
or taking of any action in reliance upon this information by
persons or entities other than the intended recipient(s) is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
*****************************************************************



More information about the Libraries mailing list