-
Notifications
You must be signed in to change notification settings - Fork 0
/
haray.cabal
91 lines (82 loc) · 2.83 KB
/
haray.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
Name: haray
Version: 0.1
License: BSD3
License-file: LICENSE
Author: Jason Dagit
Maintainer: dagitj@gmail.com
Category: Graphics
Build-type: Simple
Cabal-version: >=1.12
Flag use-opencl
Description: Use the OpenCL backend for rendering
Default: False
Executable haray
Main-is: Main.hs
default-language: Haskell2010
build-depends: haray
, base > 3 && < 5
if impl(ghc >= 7.0.1)
ghc-options: -rtsopts -threaded
if impl(ghc >= 7.4.1)
ghc-prof-options: -fprof-auto
else
ghc-prof-options: -auto-all
ghc-prof-options: -prof
ghc-options: -O2 -funbox-strict-fields -Wall
default-extensions: CPP
-- OpenCL requires:
if flag(use-opencl)
default-extensions: QuasiQuotes
cpp-options: -DUSE_OPENCL
Build-depends: OpenCL
, mainland-pretty
-- Need full support for OpenCL types
, language-c-quote >= 0.7.2
, JuicyPixels >= 3.1 && < 4
, vector
, time
, lin-alg
Library
hs-source-dirs: src
default-language: Haskell2010
-- Packages needed in order to build this package.
Build-depends: base > 3 && < 5
, strict == 0.3.*
, lin-alg >= 0.1.0.2
, JuicyPixels >= 3.1 && < 4
, vector < 1
, mwc-random < 0.13
, primitive
, deepseq
, async
Exposed-modules: Graphics.Rendering.Haray.Bitmap
, Graphics.Rendering.Haray.Camera
, Graphics.Rendering.Haray.HitRecord
, Graphics.Rendering.Haray.HMDInfo
, Graphics.Rendering.Haray.Luminaire
, Graphics.Rendering.Haray.Ray
, Graphics.Rendering.Haray.Render
, Graphics.Rendering.Haray.RGB
, Graphics.Rendering.Haray.Scene
, Graphics.Rendering.Haray.Shape
, Graphics.Rendering.Haray.SolidNoise
, Graphics.Rendering.Haray.Texture
if impl(ghc >= 7.4.1)
ghc-prof-options: -fprof-auto
else
ghc-prof-options: -auto-all
ghc-prof-options: -prof
ghc-options: -O2 -funbox-strict-fields -Wall
default-extensions: CPP
-- OpenCL requires:
if flag(use-opencl)
default-extensions: QuasiQuotes
cpp-options: -DUSE_OPENCL
Build-depends: OpenCL
, mainland-pretty
-- Need full support for OpenCL types
, language-c-quote >= 0.7.2
include-dirs: cbits
includes: structs.h
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools: