diff options
author | 3gg <3gg@shellblade.net> | 2022-09-17 17:46:27 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2022-09-17 17:46:27 -0700 |
commit | 8f2ec33e8c15e523b2b60d3bfd8e6360313a0657 (patch) | |
tree | 842ebba3752e32fccca644bb44f5c0ea8eb56ad9 /Spear.cabal | |
parent | 4ce19dca3441d1e079a66e2f3dc55b77a7f0898f (diff) |
2020s update
Diffstat (limited to 'Spear.cabal')
-rw-r--r-- | Spear.cabal | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/Spear.cabal b/Spear.cabal index a19d89f..4c75dd8 100644 --- a/Spear.cabal +++ b/Spear.cabal | |||
@@ -4,7 +4,7 @@ cabal-version: >=1.2 | |||
4 | build-type: Simple | 4 | build-type: Simple |
5 | license: BSD3 | 5 | license: BSD3 |
6 | license-file: LICENSE | 6 | license-file: LICENSE |
7 | maintainer: jeannekamikaze@gmail.com | 7 | maintainer: 3gg@shellblade.net |
8 | homepage: http://spear.shellblade.net | 8 | homepage: http://spear.shellblade.net |
9 | synopsis: A 2.5D game framework. | 9 | synopsis: A 2.5D game framework. |
10 | category: Game | 10 | category: Game |
@@ -12,13 +12,14 @@ author: Marc Sunet | |||
12 | data-dir: "" | 12 | data-dir: "" |
13 | 13 | ||
14 | library | 14 | library |
15 | build-depends: GLFW -any, | 15 | build-depends: GLFW-b -any, |
16 | OpenGL -any, | 16 | OpenGL >= 3, |
17 | OpenGLRaw -any, | 17 | OpenGLRaw -any, |
18 | StateVar -any, | 18 | StateVar -any, |
19 | base -any, | 19 | base -any, |
20 | bytestring -any, | 20 | bytestring -any, |
21 | directory -any, | 21 | directory -any, |
22 | exceptions -any, | ||
22 | mtl -any, | 23 | mtl -any, |
23 | transformers -any, | 24 | transformers -any, |
24 | resourcet -any, | 25 | resourcet -any, |
@@ -46,6 +47,7 @@ library | |||
46 | Spear.Math.Segment | 47 | Spear.Math.Segment |
47 | Spear.Math.Spatial2 | 48 | Spear.Math.Spatial2 |
48 | Spear.Math.Spatial3 | 49 | Spear.Math.Spatial3 |
50 | Spear.Math.Sphere | ||
49 | Spear.Math.Triangle | 51 | Spear.Math.Triangle |
50 | Spear.Math.Utils | 52 | Spear.Math.Utils |
51 | Spear.Math.Vector | 53 | Spear.Math.Vector |
@@ -87,18 +89,28 @@ library | |||
87 | extensions: TypeFamilies | 89 | extensions: TypeFamilies |
88 | 90 | ||
89 | includes: Spear/Assets/Image/BMP/BMP_load.h | 91 | includes: Spear/Assets/Image/BMP/BMP_load.h |
90 | Spear/Assets/Image/Image.h Spear/Assets/Image/Image_error_code.h | 92 | Spear/Assets/Image/Image.h |
91 | Spear/Assets/Image/sys_types.h Spear/Assets/Model/MD2/MD2_load.h | 93 | Spear/Assets/Image/Image_error_code.h |
92 | Spear/Assets/Model/OBJ/OBJ_load.h Spear/Assets/Model/OBJ/cvector.h | 94 | Spear/Assets/Image/sys_types.h |
93 | Spear/Assets/Model/Model.h Spear/Assets/Model/Model_error_code.h | 95 | Spear/Assets/Model/MD2/MD2_load.h |
94 | Spear/Assets/Model/sys_types.h Spear/Render/RenderModel.h | 96 | Spear/Assets/Model/OBJ/OBJ_load.h |
97 | Spear/Assets/Model/OBJ/cvector.h | ||
98 | Spear/Assets/Model/Model.h | ||
99 | Spear/Assets/Model/Model_error_code.h | ||
100 | Spear/Assets/Model/sys_types.h | ||
101 | Spear/Render/RenderModel.h | ||
95 | Timer/Timer.h | 102 | Timer/Timer.h |
96 | 103 | ||
97 | include-dirs: Spear/Assets/Image Spear/Assets/Model Spear/Render | 104 | include-dirs: . |
105 | Spear | ||
106 | Spear/Assets/Image | ||
107 | Spear/Assets/Image/BMP | ||
108 | Spear/Assets/Model | ||
109 | Spear/Render | ||
98 | Spear/Sys | 110 | Spear/Sys |
99 | 111 | ||
100 | hs-source-dirs: . | 112 | hs-source-dirs: . |
101 | 113 | ||
102 | ghc-options: -O2 | 114 | ghc-options: -O2 |
103 | 115 | ||
104 | ghc-prof-options: -O2 -rtsopts -fprof-auto -fprof-cafs | 116 | ghc-prof-options: -O2 -fprof-auto -fprof-cafs |