Cabal-2.4.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.Component

Synopsis

Documentation

data Component #

Instances
Eq Component # 
Instance details

Defined in Distribution.Types.Component

Read Component # 
Instance details

Defined in Distribution.Types.Component

Show Component # 
Instance details

Defined in Distribution.Types.Component

Semigroup Component # 
Instance details

Defined in Distribution.Types.Component

HasBuildInfo Component # 
Instance details

Defined in Distribution.Types.Component

Methods

buildInfo :: Lens' Component BuildInfo #

buildable :: Lens' Component Bool #

buildTools :: Lens' Component [LegacyExeDependency] #

buildToolDepends :: Lens' Component [ExeDependency] #

cppOptions :: Lens' Component [String] #

asmOptions :: Lens' Component [String] #

cmmOptions :: Lens' Component [String] #

ccOptions :: Lens' Component [String] #

cxxOptions :: Lens' Component [String] #

ldOptions :: Lens' Component [String] #

pkgconfigDepends :: Lens' Component [PkgconfigDependency] #

frameworks :: Lens' Component [String] #

extraFrameworkDirs :: Lens' Component [String] #

asmSources :: Lens' Component [FilePath] #

cmmSources :: Lens' Component [FilePath] #

cSources :: Lens' Component [FilePath] #

cxxSources :: Lens' Component [FilePath] #

jsSources :: Lens' Component [FilePath] #

hsSourceDirs :: Lens' Component [FilePath] #

otherModules :: Lens' Component [ModuleName] #

virtualModules :: Lens' Component [ModuleName] #

autogenModules :: Lens' Component [ModuleName] #

defaultLanguage :: Lens' Component (Maybe Language) #

otherLanguages :: Lens' Component [Language] #

defaultExtensions :: Lens' Component [Extension] #

otherExtensions :: Lens' Component [Extension] #

oldExtensions :: Lens' Component [Extension] #

extraLibs :: Lens' Component [String] #

extraGHCiLibs :: Lens' Component [String] #

extraBundledLibs :: Lens' Component [String] #

extraLibFlavours :: Lens' Component [String] #

extraLibDirs :: Lens' Component [String] #

includeDirs :: Lens' Component [FilePath] #

includes :: Lens' Component [FilePath] #

installIncludes :: Lens' Component [FilePath] #

options :: Lens' Component [(CompilerFlavor, [String])] #

profOptions :: Lens' Component [(CompilerFlavor, [String])] #

sharedOptions :: Lens' Component [(CompilerFlavor, [String])] #

staticOptions :: Lens' Component [(CompilerFlavor, [String])] #

customFieldsBI :: Lens' Component [(String, String)] #

targetBuildDepends :: Lens' Component [Dependency] #

mixins :: Lens' Component [Mixin] #

foldComponent :: (Library -> a) -> (ForeignLib -> a) -> (Executable -> a) -> (TestSuite -> a) -> (Benchmark -> a) -> Component -> a #

componentBuildable :: Component -> Bool #

Is a component buildable (i.e., not marked with buildable: False)? See also this note in Distribution.Types.ComponentRequestedSpec.

Since: 2.0.0.2