packages feed

dear-imgui-impl-glfw-1.0.0: dear-imgui-impl-glfw.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-glfw
version:        1.0.0
synopsis:       GLFW backend bindings for dear-imgui-raw.
description:    Generated with dear_bindings from the imgui_impl_glfw 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_glfw.h
    cbits/DearImGuiWrappers.h
    cbits/imgui_impl_glfw.h
extra-doc-files:
    README.md
    CHANGELOG.md

flag glfw-b
  description: Bridge module DearImGui.Impl.GLFW over the GLFW-b Window and Monitor types.
  manual: True
  default: True

library
  exposed-modules:
      DearImGui.Raw.Impl.GLFW
      DearImGui.Raw.Impl.GLFW.GLFWmonitor
      DearImGui.Raw.Impl.GLFW.GLFWwindow
  other-modules:
      Paths_dear_imgui_impl_glfw
  autogen-modules:
      Paths_dear_imgui_impl_glfw
  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_glfw.cpp
      cbits/DearImGuiWrappers.cpp
      cbits/imgui_impl_glfw.cpp
  pkgconfig-depends:
      glfw3
  build-tool-depends:
      hsc2hs:hsc2hs
  build-depends:
      base >=4.16 && <5
    , dear-imgui-raw ==1.0.*
  default-language: GHC2021
  if flag(glfw-b)
    exposed-modules:
        DearImGui.Impl.GLFW
    build-depends:
        GLFW-b
      , bindings-GLFW
      , text
      , unliftio-core