summaryrefslogtreecommitdiff
path: root/hs-rgfw-example.cabal
blob: 6cbbfc524aeea37500ebd9c00b1655a8810e41b3 (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
cabal-version:      3.0
name:               hs-game
version:            0.5.0
-- synopsis:
-- description:
homepage:           https://git.mtgmonkey.net/Andromeda/hs-rgfw-example
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:
    build-depends:
        base       >= 4.18,
        bytestring >= 0.12,
        rgfw       >= 0.6,
        lens       >= 5.3,
        linear     >= 1.23,
        OpenGL     >= 3.0,
    hs-source-dirs:   src