aboutsummaryrefslogtreecommitdiff
path: root/LinProg.cabal
blob: 22b0f56b9ff70f3f8b3539fab20efce06116aff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-- Initial LinProg.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                LinProg
version:             0.0.0.1
synopsis:            Linear Programming DSL
-- description:
license:             BSD3
license-file:        LICENSE
author:              Justin Bedo
maintainer:          cu@cua0.org
-- copyright:
category:            Math
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  exposed-modules:     Math.LinProg.Types, Math.LinProg.LP, Math.LinProg.LPSolve
  other-modules:       Math.LinProg.LPSolve.FFI
  extra-libraries:     lpsolve55
  other-extensions:    DeriveFunctor, FlexibleInstances, FlexibleContexts, UndecidableInstances, TemplateHaskell, ScopedTypeVariables, ForeignFunctionInterface, ViewPatterns
  build-depends:       base >=4.7 && <4.8, recursion-schemes >=4.1 && <4.2, free >=4.9 && <4.10, containers >=0.5 && <0.6, lens >=4.4 && <4.5, mtl >=2.1 && <2.2, QuickCheck, unordered-containers, hashable
  -- hs-source-dirs:
  default-language:    Haskell2010
  ghc-options:         -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing
  ghc-prof-options:    -auto-all -caf-all
  c-sources:           Math/LinProg/LPSolve/bindings.c

benchmark bench
  type:                exitcode-stdio-1.0
  main-is:             bench.hs
  extra-libraries:     lpsolve55
  other-extensions:    DeriveFunctor, FlexibleInstances, FlexibleContexts, UndecidableInstances, TemplateHaskell, ScopedTypeVariables, ForeignFunctionInterface, ViewPatterns
  build-depends:       base >=4.7 && <4.8, recursion-schemes >=4.1 && <4.2, free >=4.9 && <4.10, containers >=0.5 && <0.6, lens >=4.4 && <4.5, mtl >=2.1 && <2.2, QuickCheck, unordered-containers, hashable, criterion
  -- hs-source-dirs:
  default-language:    Haskell2010
  ghc-options: -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -rtsopts
  ghc-prof-options:    -auto-all -caf-all
  c-sources:           Math/LinProg/LPSolve/bindings.c