packages feed

gloss-accelerate-1.9.0.0: gloss-accelerate.cabal

Name:                   gloss-accelerate
Version:                1.9.0.0
Synopsis:               Extras to interface Gloss and Accelerate
Description:            Extras to interface Gloss and Accelerate
License:                BSD3
License-file:           LICENSE
Author:                 Trevor L. McDonell
Maintainer:             tmcdonell@cse.unsw.edu.au
Category:               Graphics
Build-type:             Simple
Cabal-version:          >=1.10

Flag cuda
  Description:          Enable the CUDA parallel backend for NVIDIA GPUs
  Default:              True


Library
  Exposed-modules:
        Graphics.Gloss.Accelerate.Data.Color
        Graphics.Gloss.Accelerate.Data.Color.RGB
        Graphics.Gloss.Accelerate.Data.Color.RGBA
        Graphics.Gloss.Accelerate.Data.Picture
        Graphics.Gloss.Accelerate.Data.Point

  Build-depends:
        base                    >= 4.6 && < 4.9,
        accelerate              == 0.15.*,
        gloss                   == 1.9.*,
        gloss-rendering         == 1.9.*

--  if flag(cuda)
--    cpp-options:                -DACCELERATE_CUDA_BACKEND
--    Build-depends:
--        accelerate-cuda         >= 0.15

  ghc-options:
        -Wall -O2

  default-language:
        Haskell2010

source-repository head
  type:                         git
  location:                     https://github.com/tmcdonell/gloss-accelerate

-- vim: nospell