-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.yaml
127 lines (120 loc) · 2.88 KB
/
package.yaml
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
124
125
126
127
name: vulkan
version: "3.26.2"
synopsis: Bindings to the Vulkan graphics API.
description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme)
category: Graphics
maintainer: Ellie Hermaszewska <live.long.and.prosper@monoid.al>
github: expipiplus1/vulkan
extra-source-files:
- readme.md
- changelog.md
- package.yaml
license: BSD-3-Clause
library:
source-dirs:
- src
- src-manual
verbatim:
other-modules:
dependencies:
- base <5
- bytestring
- transformers
- vector
when:
- condition: os(windows)
extra-libraries: vulkan-1
- condition: os(darwin)
extra-libraries: vulkan
- condition: os(darwin) && flag(darwin-lib-dirs)
extra-lib-dirs: /usr/local/lib
- condition: '!os(windows) && !os(darwin)'
pkg-config-dependencies: vulkan
- condition: flag(safe-foreign-calls)
cpp-options: -DSAFE_FOREIGN_CALLS
- condition: flag(generic-instances)
cpp-options: -DGENERIC_INSTANCES
- condition: flag(trace-calls)
cpp-options: -DTRACE_CALLS
- condition: false
other-modules: Paths_vulkan
ghc-options:
- -Wall
- -Wno-unticked-promoted-constructors
- -Wno-missing-pattern-synonym-signatures
- -Wno-unused-imports
- -Wno-missing-signatures
- -Wno-partial-type-signatures
flags:
safe-foreign-calls:
description: Do not mark foreign imports as 'unsafe'. This means that callbacks
from Vulkan to Haskell will work. If you are using these then make sure this
flag is enabled.
default: no
manual: yes
generic-instances:
description: Derive Generic instances for all structs. Disabled by default because
of code size and compile time impact.
default: no
manual: yes
trace-calls:
description: Inserts calls to Debug.Trace.traceEventIO around every Vulkan call.
default: no
manual: yes
darwin-lib-dirs:
description: Add default LunarG MoltenVK SDK paths to extra-lib-dirs when building on MacOS. Requires Cabal >=3.10.3.
default: yes
manual: yes
tests:
test:
main: Driver.hs
source-dirs:
- test
dependencies:
- base
- containers
- inline-c
- tasty
- tasty-hunit
- template-haskell
- vulkan
build-tools:
- tasty-discover:tasty-discover
when:
- condition: false
other-modules: Paths_vulkan
default-extensions:
- AllowAmbiguousTypes
- CPP
- DataKinds
- DefaultSignatures
- DeriveAnyClass
- DeriveGeneric
- DerivingStrategies
- DuplicateRecordFields
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- LambdaCase
- MagicHash
- NamedFieldPuns
- NoMonomorphismRestriction
- OverloadedStrings
- PartialTypeSignatures
- PatternSynonyms
- PolyKinds
- QuantifiedConstraints
- RankNTypes
- RecordWildCards
- RoleAnnotations
- ScopedTypeVariables
- StandaloneDeriving
- Strict
- TypeApplications
- TypeFamilyDependencies
- TypeOperators
- TypeSynonymInstances
- UndecidableInstances
- ViewPatterns