Cabal-syntax-3.16.0.0: A library for working with .cabal files
Safe HaskellNone
LanguageHaskell2010

Distribution.Types.Component

Synopsis

Documentation

data Component #

Instances

Instances details
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] #

jsppOptions :: Lens' Component [String] #

ldOptions :: Lens' Component [String] #

hsc2hsOptions :: Lens' Component [String] #

pkgconfigDepends :: Lens' Component [PkgconfigDependency] #

frameworks :: Lens' Component [RelativePath Framework 'File] #

extraFrameworkDirs :: Lens' Component [SymbolicPath Pkg ('Dir Framework)] #

asmSources :: Lens' Component [SymbolicPath Pkg 'File] #

cmmSources :: Lens' Component [SymbolicPath Pkg 'File] #

cSources :: Lens' Component [SymbolicPath Pkg 'File] #

cxxSources :: Lens' Component [SymbolicPath Pkg 'File] #

jsSources :: Lens' Component [SymbolicPath Pkg 'File] #

hsSourceDirs :: Lens' Component [SymbolicPath Pkg ('Dir Source)] #

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] #

extraLibsStatic :: Lens' Component [String] #

extraGHCiLibs :: Lens' Component [String] #

extraBundledLibs :: Lens' Component [String] #

extraLibFlavours :: Lens' Component [String] #

extraDynLibFlavours :: Lens' Component [String] #

extraLibDirs :: Lens' Component [SymbolicPath Pkg ('Dir Lib)] #

extraLibDirsStatic :: Lens' Component [SymbolicPath Pkg ('Dir Lib)] #

includeDirs :: Lens' Component [SymbolicPath Pkg ('Dir Include)] #

includes :: Lens' Component [SymbolicPath Include 'File] #

autogenIncludes :: Lens' Component [RelativePath Include 'File] #

installIncludes :: Lens' Component [RelativePath Include 'File] #

options :: Lens' Component (PerCompilerFlavor [String]) #

profOptions :: Lens' Component (PerCompilerFlavor [String]) #

sharedOptions :: Lens' Component (PerCompilerFlavor [String]) #

profSharedOptions :: Lens' Component (PerCompilerFlavor [String]) #

staticOptions :: Lens' Component (PerCompilerFlavor [String]) #

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

targetBuildDepends :: Lens' Component [Dependency] #

mixins :: Lens' Component [Mixin] #

Structured Component # 
Instance details

Defined in Distribution.Types.Component

Binary Component # 
Instance details

Defined in Distribution.Types.Component

Semigroup Component # 
Instance details

Defined in Distribution.Types.Component

Eq Component # 
Instance details

Defined in Distribution.Types.Component

Generic 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

type Rep Component # 
Instance details

Defined in Distribution.Types.Component

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: Cabal-syntax-2.0.0.2