forked from haskell/double-conversion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
double-conversion.cabal
71 lines (69 loc) · 1.55 KB
/
double-conversion.cabal
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: double-conversion
version: 2.0.2.0
synopsis: Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles.
license: BSD3
license-file: LICENSE
copyright: 2011 MailRank, Inc., 2012-2016 Bryan O'Sullivan, 2017-2018 DFINITY Stiftung
author: Bryan O'Sullivan <[email protected]>
maintainer: Enzo Haussecker <[email protected]>
stability: Experimental
category: Text
homepage: https://github.com/dfinity/hs-double-conversion
bug-reports: https://github.com/dfinity/hs-double-conversion/issues
build-type: Simple
cabal-version: >=1.10
library
build-depends:
base == 4.*,
bytestring,
ghc-prim,
text >= 0.11.0.8
c-sources:
cbits/hs-double-conversion.cc
cc-options:
-std=c++11
exposed-modules:
Data.Double.Conversion.ByteString
Data.Double.Conversion.Text
extra-libraries:
mozglue
if os(windows)
if arch(x86_64)
extra-libraries:
stdc++-6 gcc_s_seh-1
else
extra-libraries:
stdc++-6 gcc_s_dw2-1
else
if os(darwin)
extra-libraries:
c++
else
extra-libraries:
stdc++
ghc-options:
-Wall
include-dirs:
include
other-modules:
Data.Double.Conversion.FFI
test-suite tests
build-depends:
HUnit,
base,
bytestring,
double-conversion,
test-framework,
test-framework-hunit,
test-framework-quickcheck2,
text
ghc-options:
-Wall
hs-source-dirs:
tests
main-is:
Properties.hs
other-modules:
Regressions
type:
exitcode-stdio-1.0