diff options
Diffstat (limited to 'Spear.cabal')
-rw-r--r-- | Spear.cabal | 103 |
1 files changed, 76 insertions, 27 deletions
diff --git a/Spear.cabal b/Spear.cabal index 514bed9..e25b347 100644 --- a/Spear.cabal +++ b/Spear.cabal | |||
@@ -10,40 +10,86 @@ synopsis: A 2.5D game framework. | |||
10 | category: Game | 10 | category: Game |
11 | author: Marc Sunet | 11 | author: Marc Sunet |
12 | data-dir: "" | 12 | data-dir: "" |
13 | 13 | ||
14 | library | 14 | library |
15 | build-depends: GLFW -any, OpenGL -any, OpenGLRaw -any, | 15 | build-depends: GLFW -any, |
16 | StateVar -any, base -any, bytestring -any, directory -any, | 16 | OpenGL -any, |
17 | mtl -any, transformers -any, resourcet -any, parsec >= 3, | 17 | OpenGLRaw -any, |
18 | containers -any, vector -any, array -any | 18 | StateVar -any, |
19 | exposed-modules: Spear.Scene.GameObject Spear.Math.QuadTree | 19 | base -any, |
20 | Spear.Physics.Types Spear.App Spear.App.Application Spear.App.Input | 20 | bytestring >= 0.10, |
21 | Spear.Assets.Image Spear.Assets.Model Spear.Collision | 21 | directory -any, |
22 | Spear.Math.AABB Spear.Math.Circle Spear.Math.Triangle Spear.Game | 22 | mtl -any, |
23 | Spear.GL Spear.Math.Camera Spear.Math.Entity Spear.Math.Matrix3 | 23 | transformers -any, |
24 | Spear.Math.Matrix4 Spear.Math.MatrixUtils Spear.Math.Plane | 24 | resourcet -any, |
25 | Spear.Math.Quaternion Spear.Math.Vector Spear.Math.Vector.Class | 25 | parsec >= 3, |
26 | Spear.Math.Vector.Vector3 Spear.Math.Vector.Vector4 | 26 | containers -any, |
27 | Spear.Math.Vector.Vector2 | 27 | vector -any, |
28 | Spear.Physics Spear.Physics.Rigid Spear.Render.AnimatedModel | 28 | array -any |
29 | Spear.Render.Material Spear.Render.Model Spear.Render.Program | 29 | |
30 | Spear.Render.StaticModel Spear.Scene.Graph Spear.Scene.Light | 30 | exposed-modules: Spear.App |
31 | Spear.Scene.Loader Spear.Scene.Scene Spear.Scene.SceneResources | 31 | Spear.App.Application |
32 | Spear.Sys.Timer Spear.Sys.Store Spear.Sys.Store.ID | 32 | Spear.App.Input |
33 | Spear.Math.Quad Spear.Math.Ray | 33 | Spear.Assets.Image |
34 | Spear.Math.Segment Spear.Math.Utils Spear.Math.Spatial2 | 34 | Spear.Assets.Model |
35 | Spear.Game | ||
36 | Spear.GL | ||
37 | Spear.Math.AABB | ||
38 | Spear.Math.Camera | ||
39 | Spear.Math.Circle | ||
40 | Spear.Math.Collision | ||
41 | Spear.Math.Entity | ||
42 | Spear.Math.Frustum | ||
43 | Spear.Math.Matrix3 | ||
44 | Spear.Math.Matrix4 | ||
45 | Spear.Math.MatrixUtils | ||
46 | Spear.Math.Octree | ||
47 | Spear.Math.Plane | ||
48 | Spear.Math.Quaternion | ||
49 | Spear.Math.Ray | ||
50 | Spear.Math.Segment | ||
51 | Spear.Math.Spatial2 | ||
35 | Spear.Math.Spatial3 | 52 | Spear.Math.Spatial3 |
53 | Spear.Math.Triangle | ||
54 | Spear.Math.Utils | ||
55 | Spear.Math.Vector | ||
56 | Spear.Math.Vector.Class | ||
57 | Spear.Math.Vector.Vector2 | ||
58 | Spear.Math.Vector.Vector3 | ||
59 | Spear.Math.Vector.Vector4 | ||
60 | Spear.Render.AnimatedModel | ||
61 | Spear.Render.Material | ||
62 | Spear.Render.Model | ||
63 | Spear.Render.Program | ||
64 | Spear.Render.StaticModel | ||
65 | Spear.Scene.GameObject | ||
66 | Spear.Scene.Graph | ||
67 | Spear.Scene.Light | ||
68 | Spear.Scene.Loader | ||
69 | Spear.Scene.SceneResources | ||
70 | Spear.Sys.Store | ||
71 | Spear.Sys.Store.ID | ||
72 | Spear.Sys.Timer | ||
73 | |||
36 | exposed: True | 74 | exposed: True |
75 | |||
37 | buildable: True | 76 | buildable: True |
77 | |||
38 | build-tools: hsc2hs -any | 78 | build-tools: hsc2hs -any |
79 | |||
39 | cc-options: -O2 -g -Wno-unused-result | 80 | cc-options: -O2 -g -Wno-unused-result |
81 | |||
40 | c-sources: Spear/Assets/Image/Image.c | 82 | c-sources: Spear/Assets/Image/Image.c |
41 | Spear/Assets/Image/BMP/BMP_load.c Spear/Assets/Model/Model.c | 83 | Spear/Assets/Image/BMP/BMP_load.c |
42 | Spear/Assets/Model/MD2/MD2_load.c Spear/Assets/Model/OBJ/cvector.c | 84 | Spear/Assets/Model/Model.c |
43 | Spear/Assets/Model/OBJ/OBJ_load.c Spear/Render/RenderModel.c | 85 | Spear/Assets/Model/MD2/MD2_load.c |
86 | Spear/Assets/Model/OBJ/cvector.c | ||
87 | Spear/Assets/Model/OBJ/OBJ_load.c | ||
88 | Spear/Render/RenderModel.c | ||
44 | Spear/Sys/Timer/ctimer.c | 89 | Spear/Sys/Timer/ctimer.c |
90 | |||
45 | extensions: TypeFamilies | 91 | extensions: TypeFamilies |
46 | extra-libraries: stdc++ | 92 | |
47 | includes: Spear/Assets/Image/BMP/BMP_load.h | 93 | includes: Spear/Assets/Image/BMP/BMP_load.h |
48 | Spear/Assets/Image/Image.h Spear/Assets/Image/Image_error_code.h | 94 | Spear/Assets/Image/Image.h Spear/Assets/Image/Image_error_code.h |
49 | Spear/Assets/Image/sys_types.h Spear/Assets/Model/MD2/MD2_load.h | 95 | Spear/Assets/Image/sys_types.h Spear/Assets/Model/MD2/MD2_load.h |
@@ -51,9 +97,12 @@ library | |||
51 | Spear/Assets/Model/Model.h Spear/Assets/Model/Model_error_code.h | 97 | Spear/Assets/Model/Model.h Spear/Assets/Model/Model_error_code.h |
52 | Spear/Assets/Model/sys_types.h Spear/Render/RenderModel.h | 98 | Spear/Assets/Model/sys_types.h Spear/Render/RenderModel.h |
53 | Timer/Timer.h | 99 | Timer/Timer.h |
100 | |||
54 | include-dirs: Spear/Assets/Image Spear/Assets/Model Spear/Render | 101 | include-dirs: Spear/Assets/Image Spear/Assets/Model Spear/Render |
55 | Spear/Sys | 102 | Spear/Sys |
103 | |||
56 | hs-source-dirs: . | 104 | hs-source-dirs: . |
105 | |||
57 | ghc-options: -O2 | 106 | ghc-options: -O2 |
58 | ghc-prof-options: -rtsopts -fprof-auto -fprof-cafs | 107 | |
59 | 108 | ghc-prof-options: -O2 -rtsopts -fprof-auto -fprof-cafs | |