diff options
Diffstat (limited to 'packages/sundials/sundials.cabal')
-rw-r--r-- | packages/sundials/sundials.cabal | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/sundials/sundials.cabal b/packages/sundials/sundials.cabal index a68f33a..9b2db12 100644 --- a/packages/sundials/sundials.cabal +++ b/packages/sundials/sundials.cabal | |||
@@ -18,6 +18,16 @@ cabal-version: >=1.10 | |||
18 | 18 | ||
19 | extra-source-files: src/helpers.c, src/helpers.h | 19 | extra-source-files: src/helpers.c, src/helpers.h |
20 | 20 | ||
21 | executable ExportAndImport.dylib | ||
22 | main-is: ExportAndImport.hs | ||
23 | other-extensions: ForeignFunctionInterface | ||
24 | build-depends: base >=4.10 | ||
25 | hs-source-dirs: src | ||
26 | default-language: Haskell2010 | ||
27 | include-dirs: src | ||
28 | ghc-options: -O2 -shared -fPIC -dynamic | ||
29 | extra-libraries: HSrts-ghc8.2.2 | ||
30 | |||
21 | executable sundials | 31 | executable sundials |
22 | main-is: Main.hs | 32 | main-is: Main.hs |
23 | -- other-modules: | 33 | -- other-modules: |
@@ -31,3 +41,18 @@ executable sundials | |||
31 | default-language: Haskell2010 | 41 | default-language: Haskell2010 |
32 | extra-libraries: sundials_arkode | 42 | extra-libraries: sundials_arkode |
33 | C-sources: src/helpers.c src/helpers.h | 43 | C-sources: src/helpers.c src/helpers.h |
44 | |||
45 | executable hsundials.dylib | ||
46 | main-is: Main.hs | ||
47 | -- other-modules: | ||
48 | other-extensions: QuasiQuotes, TemplateHaskell, MultiWayIf, OverloadedStrings | ||
49 | build-depends: base >=4.10 && <4.11, | ||
50 | inline-c >=0.6 && <0.7, | ||
51 | vector >=0.12 && <0.13, | ||
52 | template-haskell >=2.12 && <2.13, | ||
53 | containers >=0.5 && <0.6 | ||
54 | hs-source-dirs: src | ||
55 | ghc-options: -O2 -shared -fPIC -dynamic | ||
56 | default-language: Haskell2010 | ||
57 | extra-libraries: sundials_arkode, HSrts-ghc8.2.2 | ||
58 | C-sources: src/helpers.c src/helpers.h | ||