~jojo/Carth

ref: e0ddea221f04d570827f967aea683f7548799215 Carth/src/Conf.hs -rw-r--r-- 419 bytes
e0ddea22JoJo Default to installing bin and lib in .local 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Conf (Conf(..), CompileConfig(..), RunConfig(..)) where

data Conf
    = CompileConf CompileConfig
    | RunConf RunConfig

data CompileConfig = CompileConfig
    { cInfile :: FilePath
    , cOutfile :: FilePath
    -- | Path to C compiler to use for linking and compiling ".c" files
    , cCompiler :: FilePath
    , cDebug :: Bool }

data RunConfig = RunConfig
    { rInfile :: FilePath
    , rDebug :: Bool }