cvs commit: fptools/libraries/Cabal/Distribution PackageDescription.hs

Ross Paterson ross at haskell.org
Mon Dec 27 19:28:15 EST 2004


ross        2004/12/27 16:28:14 PST

  Modified files:
    libraries/Cabal/Distribution PackageDescription.hs 
  Log:
  Add the following fields to PackageDescription:
  
  	buildPackage   :: Bool,         -- ^ package is buildable here
  	ccOptions      :: [String],     -- ^ options for C compiler
  	ldOptions      :: [String],     -- ^ options for linker
  	frameworks     :: [String],
  
  When these are system dependent (as they often are), they will need to be
  overridden, but the mechanism is left to the Cabal user.
  
  Not that I've treated these as basic fields, so they apply to the library
  (if any) and all executables in the package.  The overriding is easier
  that way.
  
  Revision  Changes    Path
  1.9       +22 -0     fptools/libraries/Cabal/Distribution/PackageDescription.hs


More information about the Cvs-libraries mailing list