module Shake.Config where
import qualified Shake.C as C
type Flag = String
data Config = Config {
Config -> Bool
useCabalV2 :: Bool
, Config -> Bool
enableEkg :: Bool
, Config -> Bool
enableEventLog :: Bool
, :: [Flag]
, :: [FilePath]
, Config -> Flag
fltkConfig :: FilePath
, Config -> ExternalLibrary
libsamplerate :: C.ExternalLibrary
, Config -> ExternalLibrary
rubberband :: C.ExternalLibrary
, Config -> [Flag]
globalIncludes :: [FilePath]
, Config -> [Flag]
globalLibDirs :: [FilePath]
} deriving (Int -> Config -> ShowS
[Config] -> ShowS
Config -> Flag
forall a.
(Int -> a -> ShowS) -> (a -> Flag) -> ([a] -> ShowS) -> Show a
showList :: [Config] -> ShowS
$cshowList :: [Config] -> ShowS
show :: Config -> Flag
$cshow :: Config -> Flag
showsPrec :: Int -> Config -> ShowS
$cshowsPrec :: Int -> Config -> ShowS
Show)
defaultConfig :: Config
defaultConfig :: Config
defaultConfig = Config
{ useCabalV2 :: Bool
useCabalV2 = Bool
True
, enableEkg :: Bool
enableEkg = Bool
False
, enableEventLog :: Bool
enableEventLog = Bool
False
, extraDefines :: [Flag]
extraDefines = []
, extraFrameworkPaths :: [Flag]
extraFrameworkPaths = []
, fltkConfig :: Flag
fltkConfig = Flag
"fltk-config"
, libsamplerate :: ExternalLibrary
libsamplerate = Flag -> ExternalLibrary
C.library Flag
"samplerate"
, rubberband :: ExternalLibrary
rubberband = Flag -> ExternalLibrary
C.library Flag
"rubberband"
, globalIncludes :: [Flag]
globalIncludes = []
, globalLibDirs :: [Flag]
globalLibDirs = []
}