summaryrefslogtreecommitdiff
path: root/hs-rgfw.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hs-rgfw.cabal')
-rw-r--r--hs-rgfw.cabal88
1 files changed, 38 insertions, 50 deletions
diff --git a/hs-rgfw.cabal b/hs-rgfw.cabal
index f4f1d79..90ab297 100644
--- a/hs-rgfw.cabal
+++ b/hs-rgfw.cabal
@@ -1,53 +1,41 @@
-cabal-version: 3.0
-name: hs-rgfw
-version: 0.2.2
-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.
+cabal-version: 3.0
+name: hs-rgfw
+version: 0.1.0
+license: GPL-3.0-only
+license-file: LICENSE
+author: Andromeda
+maintainer: Matrix @andromeda:tchncs.de
+build-type: Simple
+extra-doc-files: README.md
common warnings
- ghc-options:
- -Wall
-common buildc
- include-dirs:
- include,
- include/RGFW
- c-sources: include/RGFW_HS.c
- install-includes:
- RGFW_HS.c
-common pkgconfig
- pkgconfig-depends:
- gl,
- x11,
- xcursor,
- xrandr,
- xi
-common default-language
- default-language: Haskell2010
+ ghc-options: -Wall
+
library
- import:
- warnings,
- buildc,
- pkgconfig,
- default-language
- exposed-modules: RGFW
- build-depends:
- base >=4.18,
- bindings-DSL <1000
- hs-source-dirs: lib
+ import: warnings
+ exposed-modules: RGFW.Generated
+ build-depends:
+ , base
+ , c-expr-runtime
+ , hs-bindgen-runtime
+ include-dirs: rgfw
+ hs-source-dirs: lib
+ default-language: Haskell2010
+ default-extensions: FlexibleInstances
+
executable hs-rgfw
- import:
- warnings,
- buildc,
- pkgconfig,
- default-language
- main-is: Main.hs
- build-depends:
- base >=4.18,
- hs-rgfw
- hs-source-dirs: src
+ import: warnings
+ main-is: Main.hs
+ build-depends:
+ , base
+ , hs-rgfw
+ , c-expr-runtime
+ , hs-bindgen-runtime
+ pkgconfig-depends:
+ , gl
+ , x11
+ , xcursor
+ , xrandr
+ , xi
+ include-dirs: rgfw
+ hs-source-dirs: src
+ default-language: Haskell2010