aboutsummaryrefslogtreecommitdiff
path: root/Spear.cabal
blob: ab8f6b97388aac8146b288667e1631b067254405 (plain)
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
name: Spear
version: 0.1
cabal-version: >=1.2
build-type: Simple
license: BSD3
license-file: LICENSE
maintainer: jeannekamikaze@gmail.com
homepage: http://spear.shellblade.net
synopsis: A 3D game framework.
description:  
category: Game
author: Marc Sunet
data-dir: ""
 
library
    build-depends: GLFW -any, OpenGL -any, OpenGLRaw -any,
                   StateVar -any, base -any, bytestring -any, directory -any,
                   mtl -any, transformers -any, resource-simple -any, parsec >= 3.1.3, containers,
                   ansi-terminal, vector
                   
    exposed-modules:
                     Spear.App
                     Spear.App.Application
                     Spear.App.Input
                     
                     Spear.Assets.Image
                     Spear.Assets.Model
                     
                     Spear.Collision
                     Spear.Collision.AABB
                     Spear.Collision.Collision
                     Spear.Collision.Collisioner
                     Spear.Collision.Sphere
                     Spear.Collision.Triangle
                     Spear.Collision.Types
                     
                     Spear.Game
                     
                     Spear.GLSL
                     Spear.GLSL.Buffer
                     Spear.GLSL.Error
                     Spear.GLSL.Management
                     Spear.GLSL.Texture
                     Spear.GLSL.Uniform
                     Spear.GLSL.VAO
                     
                     Spear.Math.Camera
                     Spear.Math.Entity
                     Spear.Math.Matrix3
                     Spear.Math.Matrix4
                     Spear.Math.MatrixUtils
                     Spear.Math.Octree
                     Spear.Math.Plane
                     Spear.Math.Spatial
                     Spear.Math.Vector3
                     Spear.Math.Vector4
                     
                     Spear.Render.AnimatedModel
                     Spear.Render.Material
                     Spear.Render.Model
                     Spear.Render.Program
                     Spear.Render.Renderable
                     Spear.Render.StaticModel
                     Spear.Render.Texture
                     
                     Spear.Scene.Graph
                     Spear.Scene.Light
                     Spear.Scene.Loader
                     Spear.Scene.Scene
                     Spear.Scene.SceneResources
                     
                     Spear.Setup
                     
                     Spear.Sys.Timer
                     
                     Spear.Updatable
    exposed: True
    
    buildable: True
    
    build-tools: hsc2hs -any
    
    c-sources:
                Spear/Assets/Image/Image.c
                Spear/Assets/Image/BMP/BMP_load.c
                Spear/Assets/Model/Model.c
                Spear/Assets/Model/MD2/MD2_load.c
                Spear/Assets/Model/OBJ/OBJ_load.cc
                Spear/Render/RenderModel.c
                Spear/Sys/Timer/ctimer.c
               
    extensions: TypeFamilies
    
    includes:
                Spear/Assets/Image/BMP/BMP_load.h
                Spear/Assets/Image/Image.h
                Spear/Assets/Image/Image_error_code.h
                Spear/Assets/Image/sys_types.h
                Spear/Assets/Model/MD2/MD2_load.h
                Spear/Assets/Model/OBJ/OBJ_load.h
                Spear/Assets/Model/Model.h
                Spear/Assets/Model/Model_error_code.h
                Spear/Assets/Model/sys_types.h
                Spear/Render/RenderModel.h
                Timer/Timer.h
              
    include-dirs:
                Spear/Assets/Image
                Spear/Assets/Model
                Spear/Render
                Spear/Sys
    
    hs-source-dirs: .
    
    ghc-options: -O2 -rtsopts
    
    cc-options:  -O2 -g -Wno-unused-result
    
    extra-libraries: stdc++