packages feed

hs-wayland-scanner-0.1.0: examples/simple-server/simple-server.cabal

cabal-version: 3.0
name:          simple-server
version:       0.1
author:        Andrea Rossato
maintainer:    andrea.rossato@unitn.it
homepage:      https://codeberg.org/andrea_rossato/hs-wayland-scanner
synopsis:      a simple wayland client
description:   a simple wayland client

category:           System
license:            BSD-3-Clause
extra-source-files: README.md
build-type:         Simple

library
    hs-source-dirs:   ./src
    exposed-modules:  Graphics.Wayland.Protocol.Wayland
                      Graphics.Wayland.Server.Protocol.Wayland
                      Graphics.Wayland.Server.Core
    include-dirs:      ./cbits
    c-sources:         ./cbits/wayland-server-protocols.c
    build-depends:     base
    pkgconfig-depends: wayland-server
    ghc-options:        -O -Wall
    ghc-prof-options:   -auto-all
    default-language:   Haskell2010
    default-extensions: ForeignFunctionInterface

executable simple-server
    main-is:        simple-server.hs
    hs-source-dirs: ., ./src
    other-modules:  Graphics.Wayland.Protocol.Wayland
                    Graphics.Wayland.Server.Protocol.Wayland
                    Graphics.Wayland.Server.Core
    include-dirs:   ./cbits
    c-sources:      ./cbits/wayland-server-protocols.c
    build-depends:  base
    pkgconfig-depends: wayland-server
    ghc-options:        -O -Wall
    ghc-prof-options:   -auto-all
    default-language:   Haskell2010
    default-extensions: ForeignFunctionInterface