aboutsummaryrefslogtreecommitdiff
path: root/chelleport.cabal
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-15 22:14:51 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-15 23:53:13 +0530
commit9842a86563058cc04dc06cd07fcede688c36d8df (patch)
tree9e975f31633b31acdcfba49db2d78ceb8e7f9afb /chelleport.cabal
parenta94f867fdba27211700eccb3f4acdba7041bdb68 (diff)
downloadchelleport-9842a86563058cc04dc06cd07fcede688c36d8df.tar.gz
chelleport-9842a86563058cc04dc06cd07fcede688c36d8df.zip
Add embedding of font
Diffstat (limited to '')
-rw-r--r--chelleport.cabal11
1 files changed, 10 insertions, 1 deletions
diff --git a/chelleport.cabal b/chelleport.cabal
index 9238694..897ea7b 100644
--- a/chelleport.cabal
+++ b/chelleport.cabal
@@ -9,6 +9,11 @@ build-type: Simple
synopsis: Mouse control
description: Mouse control
+Flag release
+ Description: Release build options
+ Manual: True
+ Default: False
+
common common-config
default-extensions:
ExplicitForAll,
@@ -29,6 +34,8 @@ common warnings
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wunused-foralls -Wextra -Wno-unused-do-bind -Wname-shadowing
-fwarn-tabs -fprint-explicit-foralls -fprint-explicit-kinds
+ if flag(release)
+ ghc-options: -O2 -Werror
executable chelleport
import: common-config, warnings
@@ -41,10 +48,12 @@ library lib-chelleport
import: common-config, warnings
hs-source-dirs: src
build-depends:
+ bytestring,
+ file-embed == 0.0.16.0,
sdl2 == 2.5.5.0,
sdl2-ttf == 2.1.3,
- X11 == 1.10.3,
vector == 0.13.1.0,
+ X11 == 1.10.3,
xtest == 0.2
exposed-modules:
Chelleport