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

Distribution.Types.Component

Synopsis

Documentation

data Component Source #

Instances

Instances details
HasBuildInfo Component Source # 
Instance details

Defined in Distribution.Types.Component

Methods

buildInfo :: Lens' Component BuildInfo Source #

buildable :: Lens' Component Bool Source #

buildTools :: Lens' Component [LegacyExeDependency] Source #

buildToolDepends :: Lens' Component [ExeDependency] Source #

cppOptions :: Lens' Component [String] Source #

asmOptions :: Lens' Component [String] Source #

cmmOptions :: Lens' Component [String] Source #

ccOptions :: Lens' Component [String] Source #

cxxOptions :: Lens' Component [String] Source #

ldOptions :: Lens' Component [String] Source #

hsc2hsOptions :: Lens' Component [String] Source #

pkgconfigDepends :: Lens' Component [PkgconfigDependency] Source #

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

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

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

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

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

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

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

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

otherModules :: Lens' Component [ModuleName] Source #

virtualModules :: Lens' Component [ModuleName] Source #

autogenModules :: Lens' Component [ModuleName] Source #

defaultLanguage :: Lens' Component (Maybe Language) Source #

otherLanguages :: Lens' Component [Language] Source #

defaultExtensions :: Lens' Component [Extension] Source #

otherExtensions :: Lens' Component [Extension] Source #

oldExtensions :: Lens' Component [Extension] Source #

extraLibs :: Lens' Component [String] Source #

extraLibsStatic :: Lens' Component [String] Source #

extraGHCiLibs :: Lens' Component [String] Source #

extraBundledLibs :: Lens' Component [String] Source #

extraLibFlavours :: Lens' Component [String] Source #

extraDynLibFlavours :: Lens' Component [String] Source #

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

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

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

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

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

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

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

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

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

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

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

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

targetBuildDepends :: Lens' Component [Dependency] Source #

mixins :: Lens' Component [Mixin] Source #

Structured Component Source # 
Instance details

Defined in Distribution.Types.Component

Binary Component Source # 
Instance details

Defined in Distribution.Types.Component

Semigroup Component Source # 
Instance details

Defined in Distribution.Types.Component

Generic Component Source # 
Instance details

Defined in Distribution.Types.Component

Read Component Source # 
Instance details

Defined in Distribution.Types.Component

Show Component Source # 
Instance details

Defined in Distribution.Types.Component

Eq Component Source # 
Instance details

Defined in Distribution.Types.Component

type Rep Component Source # 
Instance details

Defined in Distribution.Types.Component

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

componentBuildable :: Component -> Bool Source #

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