-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathVulkanMemoryAllocator.cabal
More file actions
130 lines (122 loc) · 3.43 KB
/
Copy pathVulkanMemoryAllocator.cabal
File metadata and controls
130 lines (122 loc) · 3.43 KB
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
128
129
130
cabal-version: 2.2
-- This file has been generated from package.yaml by hpack version 0.39.1.
--
-- see: https://github.com/sol/hpack
name: VulkanMemoryAllocator
version: 0.11.1.0
synopsis: Bindings to the VulkanMemoryAllocator library
category: Graphics
homepage: https://github.com/expipiplus1/vulkan#readme
bug-reports: https://github.com/expipiplus1/vulkan/issues
maintainer: Ellie Hermaszewska <live.long.and.prosper@monoid.al>
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
readme.md
changelog.md
package.yaml
VulkanMemoryAllocator/include/vk_mem_alloc.h
source-repository head
type: git
location: https://github.com/expipiplus1/vulkan
flag generic-instances
description: Derive Generic instances for all structs. Disabled by default because of code size and compile time impact.
manual: True
default: False
flag safe-foreign-calls
description: Do not mark foreign imports as 'unsafe'. This means that callbacks from VulkanMemoryAllocator to Haskell will work. If you are using these then make sure this flag is enabled.
manual: True
default: False
flag vma-ndebug
description: Compile VulkanMemoryAllocator with NDEBUG to disable assertions.
manual: True
default: False
flag vma-recording
description: Compile VulkanMemoryAllocator with VMA_RECORDING_ENABLED to enable recording functionality.
manual: True
default: False
library
exposed-modules:
VulkanMemoryAllocator
VulkanMemoryAllocator.Utils
hs-source-dirs:
src
src-manual
default-extensions:
AllowAmbiguousTypes
CPP
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
MagicHash
NoMonomorphismRestriction
OverloadedStrings
PartialTypeSignatures
PatternSynonyms
PolyKinds
QuantifiedConstraints
RankNTypes
RecordWildCards
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
Strict
TypeApplications
TypeFamilyDependencies
TypeOperators
TypeSynonymInstances
UndecidableInstances
ViewPatterns
ghc-options: -Wall -Wno-unticked-promoted-constructors -Wno-missing-pattern-synonym-signatures -Wno-unused-imports -Wno-missing-signatures -Wno-partial-type-signatures
cxx-options: -std=c++17
include-dirs:
VulkanMemoryAllocator/include
cxx-sources:
src/lib.cpp
build-depends:
base <5
, bytestring
, transformers
, vector
, vulkan >=3.6 && <3.28
default-language: Haskell2010
if flag(safe-foreign-calls)
cpp-options: -DSAFE_FOREIGN_CALLS
if flag(vma-ndebug)
cxx-options: -DNDEBUG
if flag(vma-recording)
cxx-options: -DVMA_RECORDING_ENABLED
if flag(generic-instances)
cpp-options: -DGENERIC_INSTANCES
if impl(ghc >= 8.10)
ghc-options: -optcxx -std=c++17
if impl(ghc >= 9.4)
build-depends:
system-cxx-std-lib ==1.0
else
if os(linux)
extra-libraries:
stdc++
if os(darwin) || os(freebsd)
extra-libraries:
c++
if os(openbsd)
extra-libraries:
c++ c++abi pthread
if os(windows)
if impl(ghc < 9.3)
extra-libraries:
stdc++
else
extra-libraries:
c++ c++abi