patch applied (cabal-branches/cabal-1.2): Add a "cpp-options:" field and use it for pre-processing .hs .hsc .chs files
17 Oct
2007
17 Oct
'07
6:31 p.m.
Wed Oct 17 09:47:47 PDT 2007 Duncan Coutts <duncan@haskell.org> * Add a "cpp-options:" field and use it for pre-processing .hs .hsc .chs files This is for pre-processing Haskell modules, not for C code. We already have cc-options for that purpose. Up 'til now people have been abusing ghc-options for this purpose. Even Cabal itself was guilty of doing that. M ./Distribution/PackageDescription.hs +6 M ./Distribution/Simple/GHC.hs +1 M ./Distribution/Simple/PreProcess.hs -9 +6
6896
Age (days ago)
6896
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts