-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
implicit.cabal
279 lines (262 loc) · 8.93 KB
/
implicit.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
Cabal-version: 2.2
Name: implicit
Version: 0.4.1.0
Tested-with: GHC >= 8.8
Build-type: Simple
Synopsis: A math-inspired programmatic 2D & 3D CAD system.
Description: An OpenSCAD execution engine for generating models in STL and many other formats.
License: AGPL-3.0-or-later
License-file: LICENSE
Author: Julia Longtin <[email protected]>
Maintainer: Julia Longtin <[email protected]>
Homepage: http://implicitcad.org/
Category: Graphics
Extra-source-files:
README.md
LICENSE
tests/golden/*.ascii.stl
tests/golden/*.three.js
tests/golden/*.obj
tests/golden/*.png
tests/golden/*.scad
tests/golden/boxCylinder.stl
Extra-doc-files:
CHANGELOG.md
CONTRIBUTORS
Release.md
Tools.md
flag extopenscad
default:
True
description:
Builds extopenscad program
flag docgen
default:
True
description:
Builds docgen program
flag implicitsnap
default:
False
description:
Builds implicitsnap program
Common binstuff
Default-Language: Haskell2010
Default-extensions: NoImplicitPrelude
Ghc-options:
-threaded
-rtsopts "-with-rtsopts -N -qg -t"
-optc-O3
-- see GHC manual 8.2.1 section 6.5.1.
-feager-blackholing
-Wall
-Wextra
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
Common libstuff
Default-Language: Haskell2010
Default-extensions: NoImplicitPrelude
Ghc-options:
-optc-O3
-- see GHC manual 8.2.1 section 6.5.1.
-feager-blackholing
-Wall
-Wextra
-Wcompat
-Wmonomorphism-restriction
-Wmissing-signatures
-Wmissing-export-lists
-Wmissing-import-lists
-Wmissing-home-modules
-Widentities
-Wimplicit-prelude
-Wredundant-constraints
-Wall-missed-specialisations
Library
Import: libstuff
Build-depends:
base >= 3 && < 5,
filepath,
directory,
parsec,
parallel,
containers,
data-default-class,
deepseq,
text,
bytestring,
blaze-builder,
blaze-markup,
blaze-svg,
JuicyPixels,
mtl,
linear,
show-combinators,
lens,
random,
prettyprinter
Exposed-modules:
Graphics.Implicit
Graphics.Implicit.Canon
Graphics.Implicit.Definitions
Graphics.Implicit.Primitives
Graphics.Implicit.Export
Graphics.Implicit.MathUtil
Graphics.Implicit.ExtOpenScad
Graphics.Implicit.ObjectUtil
-- These modules are exposed for the unit tests against the parser interface.
Graphics.Implicit.ExtOpenScad.Parser.Statement
Graphics.Implicit.ExtOpenScad.Parser.Expr
Graphics.Implicit.ExtOpenScad.Eval.Constant
Graphics.Implicit.ExtOpenScad.Definitions
-- These are exposed for Benchmark.
Graphics.Implicit.Export.SymbolicObj2
Graphics.Implicit.Export.SymbolicObj3
-- These are exposed for implicitsnap.
Graphics.Implicit.Export.SymbolicFormats
Graphics.Implicit.Export.TriangleMeshFormats
Graphics.Implicit.Export.NormedTriangleMeshFormats
Graphics.Implicit.Export.PolylineFormats
Graphics.Implicit.Export.DiscreteAproxable
-- These are exposed for docgen.
Graphics.Implicit.ExtOpenScad.Primitives
-- These are exposed for testing
Graphics.Implicit.Export.Render.GetLoops
-- Exposed for executables
Graphics.Implicit.Export.OutputFormat
Graphics.Implicit.Export.Resolution
Other-modules:
Graphics.Implicit.FastIntUtil
Graphics.Implicit.IntegralUtil
Graphics.Implicit.ObjectUtil.GetBox2
Graphics.Implicit.ObjectUtil.GetBox3
Graphics.Implicit.ObjectUtil.GetBoxShared
Graphics.Implicit.ObjectUtil.GetImplicit2
Graphics.Implicit.ObjectUtil.GetImplicit3
Graphics.Implicit.ObjectUtil.GetImplicitShared
Graphics.Implicit.ExtOpenScad.Default
Graphics.Implicit.ExtOpenScad.Parser.Lexer
Graphics.Implicit.ExtOpenScad.Parser.Util
Graphics.Implicit.ExtOpenScad.Eval.Statement
Graphics.Implicit.ExtOpenScad.Eval.Expr
Graphics.Implicit.ExtOpenScad.Util.ArgParser
Graphics.Implicit.ExtOpenScad.Util.OVal
Graphics.Implicit.ExtOpenScad.Util.StateC
Graphics.Implicit.Export.RayTrace
Graphics.Implicit.Export.Util
Graphics.Implicit.Export.TextBuilderUtils
Graphics.Implicit.Export.Symbolic.Rebound2
Graphics.Implicit.Export.Symbolic.Rebound3
Graphics.Implicit.Export.Render
Graphics.Implicit.Export.Render.Definitions
Graphics.Implicit.Export.Render.GetSegs
Graphics.Implicit.Export.Render.HandleSquares
Graphics.Implicit.Export.Render.Interpolate
Graphics.Implicit.Export.Render.RefineSegs
Graphics.Implicit.Export.Render.TesselateLoops
Graphics.Implicit.Export.Render.HandlePolylines
Executable extopenscad
Import: binstuff
if !flag(extopenscad)
buildable: False
Main-is: extopenscad.hs
Hs-source-dirs: programs
Build-depends:
base,
filepath,
optparse-applicative >= 0.10.0,
text,
implicit
Executable docgen
Import: binstuff
if !flag(docgen)
buildable: False
main-is: docgen.hs
Hs-source-dirs: programs
build-depends:
base,
text,
implicit
Executable implicitsnap
Import: binstuff
if !flag(implicitsnap)
buildable: False
Main-is: implicitsnap.hs
Hs-source-dirs: programs
Build-depends:
aeson,
base,
bytestring,
implicit,
linear,
snap-core,
snap-server,
text,
utf8-string,
Benchmark Benchmark
Import: binstuff
Type: exitcode-stdio-1.0
Main-is: Benchmark.hs
Hs-source-dirs: programs
Build-depends:
base,
criterion,
linear,
implicit
Test-suite test-implicit
Import: binstuff
Type: exitcode-stdio-1.0
Main-is: Main.hs
Hs-source-dirs: tests
Build-depends:
base,
bytestring,
hspec,
HUnit,
implicit,
text,
parsec,
directory,
hedgehog,
hw-hspec-hedgehog,
QuickCheck,
linear,
lens
Other-Modules:
ParserSpec.Expr
ParserSpec.Statement
ParserSpec.Util
RewriteSpec
ExecSpec.Expr
ExecSpec.Util
MessageSpec.Message
MessageSpec.Util
PropertySpec
PropertySpec.Exec
GoldenSpec.Spec
GoldenSpec.Util
Graphics.Implicit.Test.Instances
Graphics.Implicit.Test.Utils
ImplicitSpec
TesselationSpec
Benchmark parser-bench
Import: binstuff
Type: exitcode-stdio-1.0
Main-is: parser-bench.hs
Hs-source-dirs: programs
Build-depends:
base,
criterion,
parsec,
implicit
Source-repository head
Type: git
Location: https://github.com/Haskell-Things/ImplicitCAD.git