-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflowskell.cabal
76 lines (62 loc) · 1.88 KB
/
flowskell.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
Name: Flowskell
Version: 0.0.11
Description: OpenGL livecoding enviroment (fluxus clone)
License: GPL
License-file: LICENSE
Author: Hannes Gräuler
Maintainer: hgraeule@uos.de
Build-Type: Simple
Cabal-Version: >=1.2
Data-Files: lib/*.scm
Flag JACK
Description: Enable JACK support (experimental)
Default: False
Flag Textures
Description: Enable OpenGL textures (experimental)
Default: True
Manual: True
Flag Shaders
Description: Enable render-to-texture, shaders, blur (experimental)
Default: True
Manual: True
Flag Debug
Description: Enable debugging, make rendering pipeline more obvious
Default: False
Executable flowskell
Main-is: Main.hs
Hs-Source-Dirs: src
Extensions: CPP
Build-Depends: base >= 3 && < 5, containers, mtl, stm, random, array
Build-Depends: colour, time, GLUT, OpenGLRaw, GLURaw, OpenGL, directory
Build-Depends: husk-scheme >= 3.8
Ghc-Options: -O2 -threaded
if flag(JACK)
Ghc-Options: -O2 -threaded +RTS -N2 -RTS
Cpp-Options: -DUSE_JACK
Build-Depends: jack >= 0.7, transformers, explicit-exception, unix
if flag(Textures)
Build-Depends: JuicyPixels, vector
Cpp-Options: -DUSE_TEXTURES
if flag(Shaders)
Cpp-Options: -DRENDER_TO_TEXTURE
if flag(Debug)
Cpp-Options: -DDEBUG
Executable flowskell-shot
Main-is: Shot.hs
Hs-Source-Dirs: src
Extensions: CPP
Build-Depends: base >= 3 && < 5, containers, mtl, stm, random, array
Build-Depends: colour, time, GLUT, OpenGLRaw, GLURaw, OpenGL, directory
Build-Depends: husk-scheme >= 3.8
Ghc-Options: -O2 -threaded
if flag(JACK)
Ghc-Options: -O2 -threaded +RTS -N2 -RTS
Cpp-Options: -DUSE_JACK
Build-Depends: jack >= 0.7, transformers, explicit-exception, unix
if flag(Textures)
Build-Depends: JuicyPixels, vector
Cpp-Options: -DUSE_TEXTURES
if flag(Shaders)
Cpp-Options: -DRENDER_TO_TEXTURE
if flag(Debug)
Cpp-Options: -DDEBUG