-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
88 lines (78 loc) · 1.51 KB
/
package.yaml
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
name: csg
version: "0.1.0.7"
synopsis: Analytical CSG (Constructive Solid Geometry) library
github: dzhus/csg
license: BSD3
author: Dmitry Dzhus
maintainer: [email protected]
category: Graphics
extra-source-files:
- CHANGELOG.md
- README.md
- examples/cube.geo
- examples/reentry.geo
ghc-options:
- -Wall
- -Wcompat
dependencies:
- base < 5
- simple-vec3 >= 0.6
library:
source-dirs: src
dependencies:
- attoparsec
- bytestring
- containers
- strict
- QuickCheck
- transformers
when:
- condition: flag(triples)
cpp-options: -DWITH_TRIPLES
benchmarks:
csg-benchmark:
main: benchmark/Benchmark.hs
dependencies:
- criterion
- csg
- strict
- vector
tests:
csg-tests:
source-dirs: tests
main: Main.hs
dependencies:
- bytestring
- csg
- tasty
- tasty-hunit
- tasty-quickcheck
csg-doctests:
source-dirs: tests
main: doctest-driver.hs
ghc-options: -threaded
dependencies:
- doctest
- doctest-driver-gen
executables:
csg-raycaster:
source-dirs: exe
main: raycaster.hs
ghc-options:
- -threaded
- -rtsopts
- '"-with-rtsopts=-N"'
dependencies:
- csg
- gloss
- gloss-raster
- system-filepath
- QuickCheck
- strict
- turtle
flags:
triples:
description: Use triples of Doubles to represent vectors
(slower with vector library arrays)
manual: true
default: false