packages feed

dear-imgui-impl-sdl2-1.0.0: dear-imgui-impl-sdl2.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           dear-imgui-impl-sdl2
version:        1.0.0
synopsis:       SDL2 platform backend bindings for dear-imgui-raw.
description:    Generated with dear_bindings from the imgui_impl_sdl2 backend that ships with Dear ImGui.
category:       GUI
maintainer:     IC Rainbow <aenor.realm@gmail.com>
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    cbits/dcimgui_impl_sdl2.h
    cbits/DearImGuiWrappers.h
    cbits/imgui_impl_sdl2.h
extra-doc-files:
    README.md
    CHANGELOG.md

flag sdl2
  description: Bridge module DearImGui.Impl.SDL2 over the sdl2 Window, GLContext and Renderer types.
  manual: True
  default: True

library
  exposed-modules:
      DearImGui.Raw.Impl.SDL2
      DearImGui.Raw.Impl.SDL2.Enums.ImGui_ImplSDL2_GamepadMode
      DearImGui.Raw.Impl.SDL2.Enums.ImGui_ImplSDL2_MouseCaptureMode
  other-modules:
      Paths_dear_imgui_impl_sdl2
  autogen-modules:
      Paths_dear_imgui_impl_sdl2
  hs-source-dirs:
      src
  default-extensions:
      BlockArguments
      DataKinds
      DuplicateRecordFields
      LambdaCase
      NoFieldSelectors
      OverloadedRecordDot
      OverloadedStrings
      StrictData
  ghc-options: -Wall -optc-Wno-discarded-qualifiers -optc-Wno-incompatible-pointer-types
  cxx-options: -std=c++11 -fpermissive
  include-dirs:
      cbits
  cxx-sources:
      cbits/dcimgui_impl_sdl2.cpp
      cbits/DearImGuiWrappers.cpp
      cbits/imgui_impl_sdl2.cpp
  pkgconfig-depends:
      sdl2
  build-tool-depends:
      hsc2hs:hsc2hs
  build-depends:
      base >=4.16 && <5
    , dear-imgui-raw ==1.0.*
  default-language: GHC2021
  if flag(sdl2)
    exposed-modules:
        DearImGui.Impl.SDL2
    build-depends:
        sdl2 >=2.5.6.1
      , unliftio-core