diff options
| author | mtgmonkey <mtgmonkey@nixos> | 2025-12-16 11:14:40 +0100 |
|---|---|---|
| committer | mtgmonkey <mtgmonkey@nixos> | 2025-12-16 11:14:40 +0100 |
| commit | 93bee37b83bbd88f2a7542415cd960e72ac3868e (patch) | |
| tree | 3245e4351cd70c5ae54f8b201df11d6afd814c7b /hs-rgfw.cabal | |
| parent | d36bbad5a86315100d69370466a4654ba5da5bc7 (diff) | |
key callbacks, tidy
Diffstat (limited to 'hs-rgfw.cabal')
| -rw-r--r-- | hs-rgfw.cabal | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/hs-rgfw.cabal b/hs-rgfw.cabal index 88c37ba..f4f1d79 100644 --- a/hs-rgfw.cabal +++ b/hs-rgfw.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: hs-rgfw -version: 0.2.1 +version: 0.2.2 homepage: https://git.mtgmonkey.net/Andromeda/hs-rgfw license: BSD-3-Clause license-file: LICENSE @@ -13,35 +13,41 @@ extra-doc-files: CHANGELOG.md common warnings ghc-options: -Wall -library - import: warnings - exposed-modules: RGFW - build-depends: - base >=4.18, - bindings-DSL <1000 +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 - hs-source-dirs: lib - include-dirs: include/RGFW +common default-language default-language: Haskell2010 +library + import: + warnings, + buildc, + pkgconfig, + default-language + exposed-modules: RGFW + build-depends: + base >=4.18, + bindings-DSL <1000 + hs-source-dirs: lib executable hs-rgfw - import: warnings + import: + warnings, + buildc, + pkgconfig, + default-language 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 |
