diff options
Diffstat (limited to 'Spear.cabal')
-rw-r--r-- | Spear.cabal | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/Spear.cabal b/Spear.cabal new file mode 100644 index 0000000..ab8f6b9 --- /dev/null +++ b/Spear.cabal | |||
@@ -0,0 +1,120 @@ | |||
1 | name: Spear | ||
2 | version: 0.1 | ||
3 | cabal-version: >=1.2 | ||
4 | build-type: Simple | ||
5 | license: BSD3 | ||
6 | license-file: LICENSE | ||
7 | maintainer: jeannekamikaze@gmail.com | ||
8 | homepage: http://spear.shellblade.net | ||
9 | synopsis: A 3D game framework. | ||
10 | description: | ||
11 | category: Game | ||
12 | author: Marc Sunet | ||
13 | data-dir: "" | ||
14 | |||
15 | library | ||
16 | build-depends: GLFW -any, OpenGL -any, OpenGLRaw -any, | ||
17 | StateVar -any, base -any, bytestring -any, directory -any, | ||
18 | mtl -any, transformers -any, resource-simple -any, parsec >= 3.1.3, containers, | ||
19 | ansi-terminal, vector | ||
20 | |||
21 | exposed-modules: | ||
22 | Spear.App | ||
23 | Spear.App.Application | ||
24 | Spear.App.Input | ||
25 | |||
26 | Spear.Assets.Image | ||
27 | Spear.Assets.Model | ||
28 | |||
29 | Spear.Collision | ||
30 | Spear.Collision.AABB | ||
31 | Spear.Collision.Collision | ||
32 | Spear.Collision.Collisioner | ||
33 | Spear.Collision.Sphere | ||
34 | Spear.Collision.Triangle | ||
35 | Spear.Collision.Types | ||
36 | |||
37 | Spear.Game | ||
38 | |||
39 | Spear.GLSL | ||
40 | Spear.GLSL.Buffer | ||
41 | Spear.GLSL.Error | ||
42 | Spear.GLSL.Management | ||
43 | Spear.GLSL.Texture | ||
44 | Spear.GLSL.Uniform | ||
45 | Spear.GLSL.VAO | ||
46 | |||
47 | Spear.Math.Camera | ||
48 | Spear.Math.Entity | ||
49 | Spear.Math.Matrix3 | ||
50 | Spear.Math.Matrix4 | ||
51 | Spear.Math.MatrixUtils | ||
52 | Spear.Math.Octree | ||
53 | Spear.Math.Plane | ||
54 | Spear.Math.Spatial | ||
55 | Spear.Math.Vector3 | ||
56 | Spear.Math.Vector4 | ||
57 | |||
58 | Spear.Render.AnimatedModel | ||
59 | Spear.Render.Material | ||
60 | Spear.Render.Model | ||
61 | Spear.Render.Program | ||
62 | Spear.Render.Renderable | ||
63 | Spear.Render.StaticModel | ||
64 | Spear.Render.Texture | ||
65 | |||
66 | Spear.Scene.Graph | ||
67 | Spear.Scene.Light | ||
68 | Spear.Scene.Loader | ||
69 | Spear.Scene.Scene | ||
70 | Spear.Scene.SceneResources | ||
71 | |||
72 | Spear.Setup | ||
73 | |||
74 | Spear.Sys.Timer | ||
75 | |||
76 | Spear.Updatable | ||
77 | exposed: True | ||
78 | |||
79 | buildable: True | ||
80 | |||
81 | build-tools: hsc2hs -any | ||
82 | |||
83 | c-sources: | ||
84 | Spear/Assets/Image/Image.c | ||
85 | Spear/Assets/Image/BMP/BMP_load.c | ||
86 | Spear/Assets/Model/Model.c | ||
87 | Spear/Assets/Model/MD2/MD2_load.c | ||
88 | Spear/Assets/Model/OBJ/OBJ_load.cc | ||
89 | Spear/Render/RenderModel.c | ||
90 | Spear/Sys/Timer/ctimer.c | ||
91 | |||
92 | extensions: TypeFamilies | ||
93 | |||
94 | includes: | ||
95 | Spear/Assets/Image/BMP/BMP_load.h | ||
96 | Spear/Assets/Image/Image.h | ||
97 | Spear/Assets/Image/Image_error_code.h | ||
98 | Spear/Assets/Image/sys_types.h | ||
99 | Spear/Assets/Model/MD2/MD2_load.h | ||
100 | Spear/Assets/Model/OBJ/OBJ_load.h | ||
101 | Spear/Assets/Model/Model.h | ||
102 | Spear/Assets/Model/Model_error_code.h | ||
103 | Spear/Assets/Model/sys_types.h | ||
104 | Spear/Render/RenderModel.h | ||
105 | Timer/Timer.h | ||
106 | |||
107 | include-dirs: | ||
108 | Spear/Assets/Image | ||
109 | Spear/Assets/Model | ||
110 | Spear/Render | ||
111 | Spear/Sys | ||
112 | |||
113 | hs-source-dirs: . | ||
114 | |||
115 | ghc-options: -O2 -rtsopts | ||
116 | |||
117 | cc-options: -O2 -g -Wno-unused-result | ||
118 | |||
119 | extra-libraries: stdc++ | ||
120 | |||