[Haskell-cafe] Cabal files on Windows

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Jul 27 16:25:23 EDT 2008


On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote:
> Hello,
> 
> Can anyone point me to a method for including path names with spaces
> in a cabal file?  I would like to add a line similar to the following:
> include-dirs:  C:\Program Files\program\include
> and of course a corresponding library as well.

Use Haskell String syntax for paths that contain spaces:

include-dirs:  "C:\\Program Files\\program\\include"


Duncan



More information about the Haskell-Cafe mailing list