forked from chpatrick/clang-pure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclang-pure.cabal
105 lines (99 loc) · 3.81 KB
/
clang-pure.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
name: clang-pure
version: 0.2.0.6
synopsis: Pure C++ code analysis with libclang
description:
Pure C++ code analysis with libclang.
.
Refer to <http://clang.llvm.org/doxygen/group__CINDEX.html libclang's documentation> for usage.
In general, the naming scheme is @clang_getCursorType -> cursorType@, @CXCursor -> `Cursor`@.
license: Apache-2.0
license-file: LICENSE
author: Patrick Chilton
maintainer: [email protected]
copyright: Copyright 2014 Google Inc. All Rights Reserved.
category: Language
build-type: Custom
cabal-version: 1.24
extra-source-files: cbits/clang-pure-utils.h
custom-setup
setup-depends:
base >= 4.5 && < 5,
Cabal >= 1.24,
process >= 1.3.0.0,
inline-c
source-repository head
type: git
location: https://github.com/chpatrick/clang-pure.git
library
exposed-modules: Language.C.Clang,
Language.C.Clang.Cursor,
Language.C.Clang.Cursor.Typed,
Language.C.Clang.File,
Language.C.Clang.Location,
Language.C.Clang.Token,
Language.C.Clang.TranslationUnit,
Language.C.Clang.Type
other-modules: Language.C.Clang.Internal.Context,
Language.C.Clang.Internal.FFI,
Language.C.Clang.Internal.Refs,
Language.C.Clang.Internal.Types
default-extensions: TypeFamilies,
GeneralizedNewtypeDeriving,
TemplateHaskell,
QuasiQuotes,
OverloadedStrings,
LambdaCase,
NamedFieldPuns,
StandaloneDeriving,
StandaloneKindSignatures,
TypeOperators,
FlexibleContexts
build-depends: base >=4.8 && <5,
contravariant >= 1.3.3,
inline-c >= 0.5.5.9,
containers >= 0.5.6.2,
template-haskell >= 2.10,
vector >= 0.10.12,
bytestring >= 0.10.6,
stm >= 2.4.4,
singletons >= 2.0.1,
singletons-th >= 3.2,
microlens >= 0.4.2.1,
microlens-contra >= 0.1.0.1
hs-source-dirs: src/
build-tools: hsc2hs
default-language: Haskell2010
include-dirs: cbits/
includes: clang-c/Index.h
cc-options: -Wall -Werror
extra-libraries: clang
ghc-options: -Wall
if impl(ghc >= 8.0.0)
ghc-options: -fno-warn-redundant-constraints
executable find-classes
main-is: FindClasses.hs
default-language: Haskell2010
build-depends: base, clang-pure, lens, unordered-containers, hashable, bytestring
hs-source-dirs: app
buildable: False
ghc-options: -Wall -fno-warn-orphans
if impl(ghc >= 8.0.0)
ghc-options: -fno-warn-redundant-constraints
test-suite list-fun-types
type: exitcode-stdio-1.0
main-is: ListTypes.hs
default-language: Haskell2010
build-depends: base, clang-pure, lens, bytestring
hs-source-dirs: examples
ghc-options: -Wall
if impl(ghc >= 8.0.0)
ghc-options: -fno-warn-redundant-constraints
test-suite list-structs
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: ListStructs.hs
build-depends: base, clang-pure, lens, bytestring
hs-source-dirs: examples
ghc-options: -Wall
if impl(ghc >= 8.0.0)
ghc-options: -fno-warn-redundant-constraints