-
Notifications
You must be signed in to change notification settings - Fork 1
/
haskell-nm-9morris.cabal
98 lines (91 loc) · 3.56 KB
/
haskell-nm-9morris.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
-- Initial haskell-nm-9morris.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- Be careful: Use cabal configure --flags="" instead of -f due to a GHC Bug
name: haskell-nm-9morris
version: 0.1.0.0
synopsis: LMU Informatik Systempraktikum - implementation of a nine men morris client ai
description: Implementation of a nine men morris ai that communicates with the LMU NMN
gameserver and handles all specified protocol cases. This implementation
fullfills all usefull specifications given here:
@http://www.nm.ifi.lmu.de/teaching/Praktika/2014ws/sysprak/@
-- license:
-- license-file: LICENSE
author: Felix Moessbauer
maintainer: [email protected]
-- copyright:
category: Game
build-type: Simple
extra-source-files: README
cabal-version: >=1.10
data-files: config.ini
source-repository head
type: git
location: https://gitlab.cip.ifi.lmu.de/moessbauer/haskell-nm-9morris
Flag Debug
Description: Enable debug support
Default: False
Manual: True
Flag Prof
Description: Enable profiling support
Default: False
Manual: True
Flag Functionalai
Description: Enable to use the less powerful but pure functional AI
Default: False
Manual: True
executable haskell-nm-9morris
main-is: NineMorris/main.hs
-- other-modules:
build-depends: base >=4.6 && <5.0,
network,
directory,
text,
attoparsec,
containers,
deepseq,
deepseq-generics,
OddWord,
parallel,
timers,
suspend,
stm,
game-tree
-- hs-source-dirs:
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind -threaded -O2 -with-rtsopts -N
if flag(debug)
ghc-options: -Wall -fno-warn-unused-do-bind -threaded -O2 -auto-all -caf-all -debug -rtsopts -eventlog -with-rtsopts -N
if flag(prof){
ghc-options: -Wall -fno-warn-unused-do-bind -threaded -O2 -auto-all -debug -rtsopts -with-rtsopts -N
ghc-prof-options: -fprof-auto
}
if flag(functionalai)
cpp-options: -DFUNCTIONALAI
if flag(debug)
cpp-options: -DDEBUG
Test-Suite haskell-nm-9morris-tests
type: detailed-0.9
test-module: Tests.Unit_Tests
other-modules: NineMorris.AI.Clever,
NineMorris.AI.Internal.Clever,
Data.Tree.Game_tree.Negascout_par
NineMorris.Globals
default-language: Haskell2010
ghc-options: -Wall
-fno-warn-unused-do-bind
-fno-warn-unused-binds
-fno-warn-unused-matches
-fno-warn-missing-signatures
-fno-warn-name-shadowing
-threaded
-O2
-with-rtsopts -N
build-depends: base,
Cabal >= 1.20,
HUnit,
game-tree,
parallel,
containers,
text,
OddWord,
deepseq