-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhasktrace.cabal
91 lines (71 loc) · 1.84 KB
/
hasktrace.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
cabal-version: 3.4
name: hasktrace
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: Daan Rijks
maintainer: [email protected]
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
common common
build-depends:
base ^>=4.14.2.0
, linear ^>=1.21.6
, vector ^>=0.12.3.0
, JuicyPixels ^>=3.3.5
default-language: Haskell2010
default-extensions:
DerivingStrategies
, DeriveAnyClass
, DeriveGeneric
, DuplicateRecordFields
, GADTs
, GeneralisedNewtypeDeriving
, NamedFieldPuns
, TupleSections
ghc-options: -Wall
library
import: common
build-depends:
deepseq
hs-source-dirs: src
exposed-modules:
Trace
, Trace.Geometry
, Trace.Light
, Trace.Material
, Trace.Scene
, Trace.Surface
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
executable trace
import: common
hs-source-dirs: app
main-is: Main.hs
build-depends:
hasktrace
-- Modules included in this executable, other than Main.
-- other-modules:
benchmark benchmarks
import: common
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Benchmarks.hs
build-depends:
hasktrace
, tasty-bench
ghc-options: -O2 -rtsopts
if impl(ghc >= 8.10)
ghc-options: "-with-rtsopts=-A32m --nonmoving-gc"
else
ghc-options: "-with-rtsopts=-A32m"