-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhsrl.cabal
72 lines (66 loc) · 1.64 KB
/
hsrl.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
-- Initial hsrl.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
name: hsrl
version: 0.1.0.0
-- synopsis:
-- description:
license: MIT
license-file: LICENSE
author: Michael Mackus
maintainer: [email protected]
-- copyright:
-- category:
build-type: Simple
cabal-version: >=1.8
flag sdl
description: Use SDL library for UI
default: True
manual: True
flag vty
description: Use VTY library for CLI renderer
default: False
manual: True
executable hsrl
main-is: roguelike.hs
extensions: DoAndIfThenElse, MultiParamTypeClasses
ghc-options: -threaded -fwarn-unused-binds -cpp
other-modules:
RL.AI
RL.Action
RL.Event
RL.Game
RL.Generator
RL.Generator.Cells
RL.Generator.Dungeon
RL.Generator.Features
RL.Generator.Items
RL.Generator.Mobs
RL.Generator.Paths
RL.Item
RL.Player
RL.Dungeon
RL.Mob
RL.Pathfinder
RL.Random
RL.Types
RL.UI
RL.UI.Common
RL.UI.Sprite
RL.Util
build-depends: base >=4.6, transformers >=0.4, random >=1.1
, mtl >=2.2, MonadRandom >=0.4, time >=1.5, containers >=0.5
, pqueue >= 1.4.1.0, JuicyPixels >=3.3.0, array
, dijkstra-simple >= 0.1.0
if flag(sdl)
build-depends:
sdl2 >= 2.5, text, cpu, vector
other-modules:
RL.UI.SDL
RL.UI.SDL.Image
cpp-options: -Dsdl
if flag(vty)
build-depends:
vty >= 5.4 && < 6
other-modules:
RL.UI.Vty
cpp-options: -Dvty