summaryrefslogtreecommitdiff
path: root/hs-game.cabal
blob: 8975d95b72c6ab85e99e66f580d1804102007374 (plain)
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
cabal-version:      3.0
name:               hs-game
version:            0.4.0
-- synopsis:
-- description:
homepage:           https://git.mtgmonkey.net/Andromeda/hs-game
license:            BSD-3-Clause
license-file:       LICENSE
author:             andromeda
maintainer:         @andromeda:tchncs.de
-- copyright:
category:           Game
build-type:         Simple
extra-doc-files:    CHANGELOG.md
-- extra-source-files:

common warnings
    ghc-options: -Wall

common optimizations
    ghc-options: -O2

executable hs-game
    import:           optimizations
    main-is:          Main.hs
    other-modules:
        Game.Internal,
        Game.Internal.LoadShaders,
        Game.Internal.Types
    -- other-extensions:
    build-depends:
        base       >= 4.18,
        bytestring >= 0.12,
        GLFW-b     >= 3.3,
        lens       >= 5.3,
        linear     >= 1.23,
        OpenGL     >= 3.0,
    hs-source-dirs:   src