The Haskell CabalSource codeContentsIndex
Distribution.Simple.GHCPackageConfig
Portability portable
Stability alpha
Maintainer libraries@haskell.org
Description
Explanation: Performs registration for GHC. Specific to ghc-pkg. Creates a GHC package config file.
Synopsis
data GHCPackageConfig = GHCPackage {
name :: String
auto :: Bool
import_dirs :: [String]
source_dirs :: [String]
library_dirs :: [String]
hs_libraries :: [String]
extra_libraries :: [String]
include_dirs :: [String]
c_includes :: [String]
package_deps :: [String]
extra_ghc_opts :: [String]
extra_cc_opts :: [String]
extra_ld_opts :: [String]
framework_dirs :: [String]
extra_frameworks :: [String]
}
mkGHCPackageConfig :: PackageDescription -> LocalBuildInfo -> GHCPackageConfig
defaultGHCPackageConfig :: GHCPackageConfig
showGHCPackageConfig :: GHCPackageConfig -> String
localPackageConfig :: IO (FilePath, Bool)
Documentation
data GHCPackageConfig
Constructors
GHCPackage
name :: String
auto :: Bool
import_dirs :: [String]
source_dirs :: [String]
library_dirs :: [String]
hs_libraries :: [String]
extra_libraries :: [String]
include_dirs :: [String]
c_includes :: [String]
package_deps :: [String]
extra_ghc_opts :: [String]
extra_cc_opts :: [String]
extra_ld_opts :: [String]
framework_dirs :: [String]
extra_frameworks :: [String]
mkGHCPackageConfig :: PackageDescription -> LocalBuildInfo -> GHCPackageConfig
defaultGHCPackageConfig :: GHCPackageConfig
showGHCPackageConfig :: GHCPackageConfig -> String
localPackageConfig :: IO (FilePath, Bool)
Where ghc keeps the --user files, the bool is for whether it exists
Produced by Haddock version 0.6