[Haskell-cafe] Re: Conditional compilation of Setup.hs

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Jul 31 09:20:12 EDT 2007


Hello Duncan,

Tuesday, July 31, 2007, 5:06:35 PM, you wrote:

>> #ifdef __CABAL_VERSION__ > 117
>>
>> Is something like this possible with Cabal?

> No, Cabal does not define any cpp defines like that.

фафшкб one of this year GSOC projects is "Cabal sections"
impelementation which should allow to make parts of cabal files
specific, for example, for windows and unix. may be this new feature
will allow to check library version too?


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list