X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=EsounD.cabal;h=6add96a49ef48ab41f714eecd525b22112d5f5e7;hb=332de27c05d195598689979c035bd136a47f4394;hp=d9218247d8a05b0d8bc18e548dc828eb8ebcdd0d;hpb=d2396e7b6183bb033861069aaeb52be53a90bfdf;p=EsounD.git diff --git a/EsounD.cabal b/EsounD.cabal index d921824..6add96a 100644 --- a/EsounD.cabal +++ b/EsounD.cabal @@ -20,14 +20,18 @@ Source-Repository head Type: git Location: git://git.cielonegro.org/EsounD.git +Flag build-examples + Description: Build example programs. + Default: False + Library Build-Depends: - base == 4.2.*, + base == 4.*, base-unicode-symbols == 0.2.*, bindings-EsounD == 0.1.*, - network == 2.2.*, - regions == 0.7.*, - safer-file-handles == 0.8.*, + network == 2.3.*, + regions == 0.8.*, + safer-file-handles == 0.9.*, storablevector == 0.2.*, transformers == 0.2.*, unix == 2.4.* @@ -48,3 +52,24 @@ Library GHC-Options: -Wall + +Executable hs-esd-player-example + if flag(build-examples) + Buildable: True + else + Buildable: False + + HS-Source-Dirs: + ., + examples + + Main-Is: EsdPlayerExample.hs + + Extensions: + EmptyDataDecls + KindSignatures + ScopedTypeVariables + UnicodeSyntax + + GHC-Options: + -Wall