enable logging for example02
This commit is contained in:
parent
45121cf1c1
commit
3d532d6673
1 changed files with 7 additions and 0 deletions
7
hw.cabal
7
hw.cabal
|
@ -113,10 +113,17 @@ executable example01
|
|||
extra-libraries: stdc++
|
||||
|
||||
executable example02
|
||||
if flag(debug)
|
||||
cpp-options: -DDEBUG
|
||||
if flag(warn)
|
||||
cpp-options: -DWARN
|
||||
if flag(error)
|
||||
cpp-options: -DERROR
|
||||
main-is: Main.hs
|
||||
other-modules: Util
|
||||
, Types
|
||||
, Init
|
||||
, Logging
|
||||
-- other-extensions:
|
||||
default-extensions: OverloadedStrings
|
||||
build-depends: base >=4.9
|
||||
|
|
Loading…
Reference in a new issue