-
Notifications
You must be signed in to change notification settings - Fork 8
/
haskell-OpenGL-examples.cabal
178 lines (165 loc) · 7.18 KB
/
haskell-OpenGL-examples.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
name: haskell-OpenGL-examples
version: 0.2
synopsis: Comparative examples of OpenGL in Haskell
description: These are the examples I wish I had when I started learning OpenGL. There are more examples in the wild of the deprecated pre-3.0 API than of modern OpenGL, and of course all examples are in C. The usual assortment of GLUT and other windowing frameworks doesn't help. These examples (will eventually) cover several different choices of Haskell wrapper over OpenGL---basic OpenGL package, the GLUtil package, and the vinyl-gl package.
homepage: http://github.com/bergey/haskell-OpenGL-examples
license: BSD3
license-file: LICENSE
author: Daniel Bergey <[email protected]>
maintainer: Daniel Bergey <[email protected]>
copyright: 2013 Daniel Bergey
category: Graphics
build-type: Simple
cabal-version: >=1.8
executable wiki-t1-modern
main-is: wikibook/tutorial-01-intro/Modern.hs
hs-source-dirs: src, .
other-modules: Util.GLFW
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
vector >= 0.9 && < 0.12,
bytestring >= 0.10 && < 0.11
ghc-options: -O2 -Wall
executable wiki-t2-vector
main-is: wikibook/tutorial-02-vbo/Vector.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
vector >= 0.9 && < 0.12,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5
ghc-options: -O2 -Wall
executable wiki-t2-vbo
main-is: wikibook/tutorial-02-vbo/VBO.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5
ghc-options: -O2 -Wall
executable wiki-t3-separate
main-is: wikibook/tutorial-03-attributes/Separate.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5
ghc-options: -O2 -Wall
executable wiki-t3-interleaved
main-is: wikibook/tutorial-03-attributes/Interleaved.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5
ghc-options: -O2 -Wall
executable wiki-t3-linear
main-is: wikibook/tutorial-03-attributes/Linear.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5,
linear >= 1.3 && < 1.21
ghc-options: -O2 -Wall
executable wiki-t4-linear
main-is: wikibook/tutorial-04-matrices/Linear.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5,
linear >= 1.3 && < 1.21
ghc-options: -O2 -Wall
executable wiki-t5-glutil
main-is: wikibook/tutorial-05-3D/GLUtil.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5,
linear >= 1.3 && < 1.21,
distributive >= 0.3 && < 0.6
ghc-options: -O2 -Wall
executable wiki-t5-vinyl
main-is: wikibook/tutorial-05-3D/Vinyl.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5,
linear >= 1.3 && < 1.21,
distributive >= 0.3 && < 0.6,
vinyl-gl >= 0.3 && < 0.4,
vinyl >= 0.5.1 && < 0.6,
singletons >= 1.0 && < 2.2
ghc-options: -O2 -Wall
executable wiki-t5-th
main-is: wikibook/tutorial-05-3D/TH.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3,
GLUtil >= 0.9 && < 0.10,
filepath >= 1.3 && < 1.5,
linear >= 1.3 && < 1.21,
distributive >= 0.3 && < 0.6,
vinyl-gl >= 0.3 && < 0.4,
vinyl >= 0.5.1 && < 0.6,
file-embed < 0.1
ghc-options: -O2 -Wall
executable glfw-direct
main-is: glfw/Direct.hs
hs-source-dirs: src, .
other-modules: Util.GLFW
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1
ghc-options: -O2 -Wall
executable glfw-modern
main-is: glfw/Modern.hs
hs-source-dirs: src, .
other-modules: Util.GLFW, Util.Shaders
build-depends: base >= 4 && < 5,
GLFW-b == 1.*,
OpenGL >= 3 && < 3.1,
vector >= 0.9 && < 0.12,
bytestring >= 0.10 && < 0.11,
OpenGLRaw >= 3 && < 3.3
ghc-options: -O2 -Wall