forked from cchantep/dhek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dhek.cabal
123 lines (114 loc) · 3.78 KB
/
dhek.cabal
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
name: dhek
version: 1.0.15
-- synopsis:
-- description:
-- license:
author: Applicius
-- maintainer:
-- copyright:cab
category: GUI
build-type: Custom
cabal-version: >=1.18
library
hs-source-dirs: resources
c-sources: resources/align_horizontal_center.c
resources/align_horizontal_left.c
resources/align_horizontal_right.c
resources/align_vertical_bottom.c
resources/align_vertical_center.c
resources/align_vertical_top.c
resources/applidok.c
resources/dialog_accept.c
resources/distribute.c
resources/distribute_create.c
resources/distribute_vertical.c
resources/draw_eraser.c
resources/draw_rectangle.c
resources/duplicate_rectangle.c
resources/go_next.c
resources/go_previous.c
resources/mouse_normal.c
resources/mouse_dup.c
resources/mouse_selection.c
resources/mouse_update.c
resources/rectangular_selection.c
resources/zoom_in.c
resources/zoom_out.c
build-depends: base == 4.7.*,
gtk >= 0.12.4
exposed-modules: Dhek.Resources
default-extensions: CPP
default-language: Haskell2010
executable dhek
if os(darwin)
pkgconfig-depends: fontconfig
c-sources: darwin/AppDelegate.m darwin/util.m
hs-source-dirs: . darwin
main-is: darwin/main.m
if os(windows)
c-sources: win/util.c
hs-source-dirs: . win
main-is: win/main.c
if !os(windows) && !os(darwin)
hs-source-dirs: . unix
main-is: Main.hs
other-modules: Dhek.Launcher
Dhek.Action
Dhek.Cartesian
Dhek.Engine
Dhek.Engine.Instr
Dhek.Engine.Misc.LastHistory
Dhek.Engine.Runtime
Dhek.Engine.Type
Dhek.File
Dhek.Geometry
Dhek.GUI
Dhek.I18N
Dhek.Mode.Common.Draw
Dhek.Mode.Duplicate
Dhek.Mode.DuplicateKey
Dhek.Mode.Effect.Collision
Dhek.Mode.Effect.Magnetic
Dhek.Mode.Normal
Dhek.Mode.Selection
Dhek.PDF.Inlined
Dhek.PDF.Type
Dhek.Property
Dhek.Selection
Dhek.Signal
Dhek.Version
Dhek.Types
Dhek.AppUtil
Dhek.Utils
Dhek.Widget.Type
Dhek.Widget.BlankDocument
default-extensions: TemplateHaskell
CPP
build-depends: base == 4.7.*
, gtk
, poppler
, mtl
, cairo
, filepath
, executable-path
, aeson
, bytestring
, containers
, array
, lens
, vector
, shakespeare
, text
, Cabal >= 1.18
, process
, recursion-schemes
, glib
, dhek
, raw-strings-qq
if os(windows)
ghc-options: -O2 -Wall -Werror -optc-mms-bitfields -optl-mwindows
if os(darwin)
ghc-options: -O2 -Wall -Werror -threaded -optl-ObjC++ -optl-mmacosx-version-min=10.9 -framework AppKit
if !os(windows) && !os(darwin)
ghc-options: -O2 -Wall -Werror
default-language: Haskell2010