forked from microsoft/bond
/
bond.cabal
164 lines (157 loc) · 4.77 KB
/
bond.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: b3e1e8755f812c54ff2252111e7b261404f305c68fbcdde72babcd762faf6acb
name: bond
version: 0.12.1.0
synopsis: Bond schema compiler and code generator
description: Bond is a cross-platform framework for handling schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. . This package contains a library for parsing the Bond schema definition language and performing template-based code generation. The library includes built-in templates for generating standard Bond C++ and C# code, as well as utilities for writing custom codegen templates. . The package also contains a command-line compiler/codegen tool, named gbc, which is primarily used to generate code for C++ and C# programs using Bond.
category: Language, Compiler, Code Generation
homepage: https://github.com/microsoft/bond#readme
bug-reports: https://github.com/microsoft/bond/issues
author: Adam Sapek <adamsap@microsoft.com>
maintainer: Bond Development Team <bond-dev@microsoft.com>
copyright: Copyright (c) Microsoft. All rights reserved.
license: MIT
license-file: LICENSE
build-type: Simple
source-repository head
type: git
location: https://github.com/microsoft/bond
flag warningsAsErrors
description: Treat warnings as errors for building bond
manual: True
default: False
library
exposed-modules:
Language.Bond.Codegen.Cpp.Apply_cpp
Language.Bond.Codegen.Cpp.Apply_h
Language.Bond.Codegen.Cpp.ApplyOverloads
Language.Bond.Codegen.Cpp.Enum_h
Language.Bond.Codegen.Cpp.Reflection_h
Language.Bond.Codegen.Cpp.Types_cpp
Language.Bond.Codegen.Cpp.Types_h
Language.Bond.Codegen.Cpp.Util
Language.Bond.Codegen.Cs.Types_cs
Language.Bond.Codegen.Cs.Util
Language.Bond.Codegen.CustomMapping
Language.Bond.Codegen.Java.Class_java
Language.Bond.Codegen.Java.Enum_java
Language.Bond.Codegen.Java.Util
Language.Bond.Codegen.Templates
Language.Bond.Codegen.TypeMapping
Language.Bond.Codegen.Util
Language.Bond.Lexer
Language.Bond.Parser
Language.Bond.Syntax.Internal
Language.Bond.Syntax.JSON
Language.Bond.Syntax.SchemaDef
Language.Bond.Syntax.Types
Language.Bond.Syntax.Util
Language.Bond.Util
other-modules:
Paths_bond
hs-source-dirs:
src
build-depends:
aeson
, base >=4.7 && <5
, bytestring
, filepath
, megaparsec
, mtl
, scientific
, shakespeare
, text
, unordered-containers
if os(windows) && arch(i386)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware
if os(windows) && arch(x86_64)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va
if flag(warningsAsErrors)
ghc-options: -Wall -Werror
default-language: Haskell2010
executable gbc
main-is: Main.hs
other-modules:
IO
Options
Paths_bond
hs-source-dirs:
./
build-depends:
aeson
, async
, base
, bond
, bytestring
, cmdargs
, directory
, filepath
, megaparsec
, monad-loops
, mtl
, process
, scientific
, shakespeare
, text
, unordered-containers
if os(windows) && arch(i386)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware
if os(windows) && arch(x86_64)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va
if flag(warningsAsErrors)
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
else
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
test-suite gbc-tests
type: exitcode-stdio-1.0
main-is: TestMain.hs
other-modules:
Tests.Codegen
Tests.Codegen.Util
Tests.Syntax
Tests.Syntax.JSON
Paths_bond
IO
Options
hs-source-dirs:
tests
./
build-depends:
Diff
, HUnit
, QuickCheck
, aeson
, aeson-pretty
, base
, bond
, bytestring
, cmdargs
, directory
, filepath
, megaparsec
, monad-loops
, mtl
, pretty
, quickcheck-arbitrary-template
, scientific
, shakespeare
, tasty
, tasty-golden
, tasty-hunit
, tasty-quickcheck
, text
, unordered-containers
if os(windows) && arch(i386)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware
if os(windows) && arch(x86_64)
ld-options: -Wl,--dynamicbase -Wl,--nxcompat -Wl,--high-entropy-va
if flag(warningsAsErrors)
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
else
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010