-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtcod-haskell.cabal
145 lines (133 loc) · 3.51 KB
/
tcod-haskell.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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: tcod-haskell
version: 0.3.0.0
synopsis: Bindings to libtcod roguelike engine
description: Haskell bindings for popular library for making roguelike games
homepage: https://github.com/ncrashed/tcod-haskell#readme
license: BSD3
license-file: LICENSE
author: Anton Gushcha
maintainer: ncrashed@gmail.com
copyright: 2017 Anton Gushcha
category: Game
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
stack.yaml
terminal.png
include/external/*.h
cabal-version: >=1.10
flag examples
description: build engine examples
default: False
flag use-pkg-config
Description: Use pkg-config to check for library dependences
Default: True
library
hs-source-dirs: src
exposed-modules:
Game.TCOD
Game.TCOD.Bresenham
Game.TCOD.BSP
Game.TCOD.Color
Game.TCOD.Console
Game.TCOD.ConsoleTypes
Game.TCOD.Context
Game.TCOD.Fov
Game.TCOD.FovTypes
Game.TCOD.Heightmap
Game.TCOD.HeightmapInst
Game.TCOD.Image
Game.TCOD.List
Game.TCOD.Mersenne
Game.TCOD.MersenneTypes
Game.TCOD.Mouse
Game.TCOD.MouseTypes
Game.TCOD.NameGen
Game.TCOD.Noise
Game.TCOD.Path
Game.TCOD.System
Game.TCOD.Tree
Game.TCOD.Version
include-dirs: include
build-depends:
base >= 4.7 && < 5
, bytestring >= 0.10 && < 0.11
, containers >= 0.5 && < 0.7
, inline-c >= 0.5 && < 0.8
, repa >= 3.4 && < 3.5
, sdl2 >= 2.2 && < 2.6
, vector >= 0.12 && < 0.13
default-language: Haskell2010
default-extensions:
ConstraintKinds
DeriveGeneric
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GeneralizedNewtypeDeriving
MultiParamTypeClasses
OverloadedStrings
QuasiQuotes
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TypeFamilies
if flag(use-pkg-config)
pkgconfig-depends: libtcod >= 1.8.2
else
extra-libraries: tcod
source-repository head
type: git
location: https://github.com/ncrashed/tcod-haskell
executable tcod-haskell-sample01
hs-source-dirs: app/sample01
main-is: Main.hs
ghc-options: -optlo-O3 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, tcod-haskell
default-extensions:
OverloadedStrings
RecordWildCards
ScopedTypeVariables
default-language: Haskell2010
extra-libraries: tcod
if flag(examples)
Buildable: True
else
Buildable: False
executable tcod-haskell-sample02
hs-source-dirs: app/sample02
main-is: Main.hs
ghc-options: -optlo-O3 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, tcod-haskell
extra-libraries: tcod
default-extensions:
OverloadedStrings
RecordWildCards
ScopedTypeVariables
default-language: Haskell2010
if flag(examples)
Buildable: True
else
Buildable: False
executable tcod-haskell-sample03
hs-source-dirs: app/sample03
main-is: Main.hs
ghc-options: -optlo-O3 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, tcod-haskell
extra-libraries: tcod
default-extensions:
OverloadedStrings
RecordWildCards
ScopedTypeVariables
default-language: Haskell2010
if flag(examples)
Buildable: True
else
Buildable: False