Commit 582bd082 authored by JP Moresmau's avatar JP Moresmau

enable building on pre GHC7 still

parent 1b1b8292
name: roguestar-engine
version: 0.5
cabal-version: -any
cabal-version: >=1.2
build-type: Simple
license: OtherLicense
license-file: LICENSE
maintainer: Christopher Lane Hinson <lane@downstairspeople.org>
build-depends: hslogger >=1.1.0 ,
priority-sync >=0.2.1.0 && <0.3, PSQueue >=1.1 && <1.2,
bytestring >=0.9.1.5, parallel >=2.2.0.1 ,
stm >=2.1.1.2, data-memocombinators >=0.4.0 && <0.5,
MonadRandom >=0.1.4 && <0.2, MaybeT >=0.1.2 && <0.2,
mtl >=1.1.0.2, random >=1.0.0.2 && <1.1,
old-time >=1.0.0.3 && <1.1, array >=0.3.0.0 && <0.3.1,
containers >=0.3.0.0, base >=4 && <5
homepage: http://roguestar.downstairspeople.org/
synopsis: Sci-fi roguelike game. Backend.
description: Requires roguestar and roguestar-glut.
......@@ -20,11 +12,18 @@ category: Game
author: Christopher Lane Hinson
tested-with: GHC ==6.12.1
executable: roguestar-engine
main-is: Main.hs
pkgconfig-depends:
hs-source-dirs: src
other-modules: TravelData VisibilityData Stats FactionData Behavior
executable roguestar-engine
main-is: Main.hs
hs-source-dirs: src
build-depends: hslogger >=1.1.0 ,
priority-sync >=0.2.1.0 && <0.3, PSQueue >=1.1 && <1.2,
bytestring >=0.9.1.5, parallel >=2.2.0.1 ,
stm >=2.1.1.2, data-memocombinators >=0.4.0 && <0.5,
MonadRandom >=0.1.4 && <0.2, MaybeT >=0.1.2 && <0.2,
mtl >=1.1.0.2, random >=1.0.0.2 && <1.1,
old-time >=1.0.0.3 && <1.1, array >=0.3.0.0 && <0.3.1,
containers >=0.3.0.0, base >=4 && <5
other-modules: TravelData VisibilityData Stats FactionData Behavior
Alignment PlaneData Grids Perception PlaneVisibility Turns Plane
CreatureData StatsData Protocol Character Tool Substances
HierarchicalDatabase Travel ToolData CharacterData Creature Facing
......@@ -34,6 +33,10 @@ other-modules: TravelData VisibilityData Stats FactionData Behavior
Random PlayerState MakeData DBErrorFlag Construction Make Activate
Contact DeviceActivation WorkCluster Planet PlanetData Logging
NodeData CharacterAdvancement
ghc-prof-options: -prof -auto-all
ghc-shared-options: -prof -auto-all
ghc-options: -threaded -fno-warn-type-defaults -rtsopts=all
ghc-prof-options: -prof -auto-all
ghc-shared-options: -prof -auto-all
if impl(ghc >= 7.0)
ghc-options: -threaded -fno-warn-type-defaults -rtsopts=all
else
ghc-options: -threaded -fno-warn-type-defaults
......@@ -49,6 +49,6 @@ Library
bytestring>=0.9.1.5 && < 0.10,
stm>=2.1.1.2,
priority-sync>=0.2.1.0 && < 0.2.2
ghc-options: -fno-warn-type-defaults -fexcess-precision -rtsopts=all
ghc-options: -fno-warn-type-defaults -fexcess-precision
ghc-prof-options: -prof -auto-all
......@@ -21,6 +21,9 @@ Executable roguestar-glut
roguestar-gl==0.5,
GLUT>=2.2.2.0 && < 2.3,
rsagl==0.5
ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision -rtsopts=all
if impl(ghc >= 7.0)
ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision -rtsopts=all
else
ghc-options: -threaded -fno-warn-type-defaults -fexcess-precision
ghc-prof-options: -prof -auto-all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment