hw/hw.cabal

180 lines
5.1 KiB
Plaintext
Raw Normal View History

2017-09-09 14:39:41 +00:00
-- Initial hw.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
name: hw
version: 0.0.0.0
-- synopsis:
-- description:
license: GPL-3
license-file: LICENSE
author: nek0
maintainer: nek0@chelnok.de
-- copyright:
category: Game
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
2017-11-18 10:02:55 +00:00
flag debug
description: Enable debug messages
default: False
manual: True
flag warn
description: Enable warning messages
default: False
manual: True
flag error
description: Enable error messages
default: False
manual: True
2017-09-09 14:39:41 +00:00
executable hw
main-is: Main.hs
other-modules: Util
2017-09-19 15:27:49 +00:00
, Types
, Init
2017-09-09 14:39:41 +00:00
-- other-extensions:
default-extensions: OverloadedStrings
2020-01-05 14:07:27 +00:00
build-depends: base >=4.12
2017-09-09 14:39:41 +00:00
, affection
2020-01-05 14:07:27 +00:00
, sdl2 >=2.5.0.0
2017-09-09 14:39:41 +00:00
, linear
2017-09-19 15:27:49 +00:00
, spatial-math
2017-09-09 14:39:41 +00:00
, bytestring
, OpenGL
, OpenGLRaw
, GLUtil
, random
, vector
, wavefront
2017-09-19 15:27:49 +00:00
, shoot
2017-09-09 14:39:41 +00:00
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
2017-09-19 15:27:49 +00:00
extra-libraries: stdc++
2017-09-21 05:17:39 +00:00
flag examples
description: Build testing examples
default: False
executable example00
main-is: Main.hs
other-modules: Util
, Types
, Init
-- other-extensions:
default-extensions: OverloadedStrings
if flag(examples)
2020-01-05 14:07:27 +00:00
build-depends: base >=4.12
2017-09-21 05:17:39 +00:00
, affection
2020-01-05 14:07:27 +00:00
, sdl2 >=2.5.0.0
2017-09-21 05:17:39 +00:00
, linear
, spatial-math
, bytestring
, OpenGL
, OpenGLRaw
, GLUtil
, random
, vector
, wavefront
, shoot
else
buildable: False
hs-source-dirs: examples/example00
default-language: Haskell2010
ghc-options: -Wall
extra-libraries: stdc++
2017-09-29 20:06:20 +00:00
executable example01
main-is: Main.hs
other-modules: Util
, Types
, Init
-- other-extensions:
default-extensions: OverloadedStrings
2020-01-05 14:07:27 +00:00
build-depends: base >=4.12
2017-09-29 20:06:20 +00:00
, affection
2020-01-05 14:07:27 +00:00
, sdl2 >=2.5.0.0
2017-09-29 20:06:20 +00:00
, linear
, spatial-math
, bytestring
, OpenGL
, OpenGLRaw
, GLUtil
, random
, vector
, wavefront
, shoot
hs-source-dirs: examples/example01
default-language: Haskell2010
ghc-options: -Wall
extra-libraries: stdc++
2017-11-07 22:10:07 +00:00
executable example02
2017-11-18 10:16:19 +00:00
if flag(debug)
cpp-options: -DDEBUG
if flag(warn)
cpp-options: -DWARN
if flag(error)
cpp-options: -DERROR
2017-11-07 22:10:07 +00:00
main-is: Main.hs
other-modules: Util
, Types
, Init
2017-11-18 10:16:19 +00:00
, Logging
2017-11-07 22:10:07 +00:00
-- other-extensions:
default-extensions: OverloadedStrings
2020-01-05 14:07:27 +00:00
build-depends: base >=4.12
2017-11-07 22:10:07 +00:00
, affection
2020-01-05 14:07:27 +00:00
, sdl2 >=2.5.0.0
2017-11-07 22:10:07 +00:00
, linear
, spatial-math
, bytestring
, OpenGL
, OpenGLRaw
, GLUtil
, random
, vector
2018-05-17 19:59:22 +00:00
, wavefront >= 0.7.1.2
2017-11-07 22:10:07 +00:00
, shoot
hs-source-dirs: examples/example02
default-language: Haskell2010
ghc-options: -Wall
extra-libraries: stdc++
2017-11-12 16:10:47 +00:00
executable example03
2017-11-18 10:02:55 +00:00
if flag(debug)
cpp-options: -DDEBUG
if flag(warn)
cpp-options: -DWARN
if flag(error)
cpp-options: -DERROR
2017-11-12 16:10:47 +00:00
main-is: Main.hs
other-modules: Util
, Types
, Init
2017-11-18 10:02:55 +00:00
, Logging
2017-11-12 16:10:47 +00:00
-- other-extensions:
default-extensions: OverloadedStrings
build-depends: base >=4.9
, affection
, sdl2
, linear
, spatial-math
, bytestring
, OpenGL
, OpenGLRaw
, GLUtil
, random
, vector
, wavefront
, shoot
, split
2017-11-19 17:27:09 +00:00
, optparse-applicative
2017-11-12 16:10:47 +00:00
hs-source-dirs: examples/example03
default-language: Haskell2010
ghc-options: -Wall
extra-libraries: stdc++