-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblarney-mmreg.cabal
56 lines (51 loc) · 1.13 KB
/
blarney-mmreg.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
cabal-version: 2.4
name: blarney-mmreg
version: 0.1.0.0
flag enable-namer-plugin
description: Enable namer plugin
manual: True
default: False
common blarney-mmreg-common
default-language: GHC2021
default-extensions:
BlockArguments
DataKinds
DeriveAnyClass
DerivingStrategies
DuplicateRecordFields
MultiWayIf
NoImplicitPrelude
NoStarIsType
OverloadedRecordDot
OverloadedLabels
PartialTypeSignatures
RebindableSyntax
RecordWildCards
RecursiveDo
TypeFamilies
ghc-options:
-Wno-partial-type-signatures
if flag(enable-namer-plugin)
build-depends:
blarney-plugins-namer
ghc-options:
-fplugin BlarneyPlugins.Namer
build-depends:
base
, blarney
, blarney-axi4
library
import: blarney-mmreg-common
hs-source-dirs: src
exposed-modules: Blarney.MMReg
executable blarney-mmreg-gen
import: blarney-mmreg-common
main-is: Main.hs
hs-source-dirs: gen
build-depends: blarney-mmreg
test-suite blarney-mmreg-tests
import: blarney-mmreg-common
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: tests
build-depends: blarney-mmreg