cabal-version:       2.4
-- Initial package description 'canvas.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/

name:                canvas
version:             0.0.0.0
synopsis:            A test implementation for drawing images with SDL2 and OpenGL
-- description:
-- bug-reports:
license:             BSD-3-Clause
license-file:        LICENSE
author:              nek0
maintainer:          nek0@nek0.eu
-- copyright:
category:            Game
extra-source-files:  CHANGELOG.md
                   , shader/fragment.sl
                   , shader/vertex.sl

executable canvas
  main-is:             Main.hs
  other-modules:       Types
                       Types.UserData
                       Types.Sprite
                       Classes.Renderable
                       Renderer
  -- other-extensions:
  ghc-options:         -Wall
  build-depends:       base ^>=4.12.0.0
                     , affection
                     , sdl2 ^>=2.5.0.0
                     , OpenGL
                     , OpenGLRaw
                     , GLUtil
                     , JuicyPixels
                     , JuicyPixels-extra
                     , stm
                     , containers
                     , linear
                     , bytestring
                     , random
  hs-source-dirs:      app
  default-language:    Haskell2010
