summaryrefslogtreecommitdiff
path: root/hs-rgfw.cabal
blob: f41e3273a70bb1dea3516682a8c7aa170973fbfe (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
39
40
41
42
43
44
45
46
47
cabal-version:      3.0
name:               hs-rgfw
version:            0.2.0
homepage:           https://git.mtgmonkey.net/Andromeda/hs-rgfw
license:            BSD-3-Clause
license-file:       LICENSE
author:             andromeda
maintainer:         @andromeda:tchncs.de
category:           Development
build-type:         Simple
extra-doc-files: CHANGELOG.md
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
common warnings
    ghc-options:
        -Wall
library
    import: warnings
    exposed-modules: RGFW
    build-depends:
        base >=4.18,
        bindings-DSL <1000
    pkgconfig-depends:
        gl,
        x11,
        xcursor,
        xrandr,
        xi
    hs-source-dirs: lib
    include-dirs: include
    default-language: Haskell2010
executable hs-rgfw
    import: warnings
    main-is: Main.hs
    build-depends:
        base >=4.18,
        hs-rgfw
    pkgconfig-depends:
        gl,
        x11,
        xcursor,
        xrandr,
        xi
    hs-source-dirs: src
    include-dirs: include
    c-sources: include/RGFW_HS.c
    install-includes: RGFW_HS.h
    default-language: Haskell2010