links correctly now.

This commit is contained in:
Nicole Dresselhaus 2022-03-23 18:22:46 +01:00
parent 46b499e864
commit 9a62697e8d
Signed by: Drezil
GPG Key ID: AC88BB432537313A
5 changed files with 30 additions and 4 deletions

2
.gitmodules vendored
View File

@ -4,4 +4,4 @@
branch = v0.13
[submodule "dear-imgui.hs"]
path = dear-imgui.hs
url = https://github.com/haskell-game/dear-imgui.hs
url = https://github.com/drezil/dear-imgui.hs

View File

@ -1,3 +1,6 @@
packages: *.cabal
dear-imgui.hs
package dear-implot
ghc-options: -Wall -Wcompat -fno-warn-unused-do-bind
shared: true

@ -1 +1 @@
Subproject commit e5969f6b358dab01d9e2bea8d3538fdfbee0c2f1
Subproject commit 51a634c7818d120ec43d4d4ee4392adc1d224128

View File

@ -2,6 +2,21 @@ cabal-version: 3.0
name: dear-implot
version: 1.0.0
build-type: Simple
extra-source-files:
README.md,
CONTRIBUTING.md,
implot/*.h,
implot/LICENSE,
dear-imgui.hs/imgui/*.h,
dear-imgui.hs/imgui/LICENSE.txt
flag use-wchar32
description:
Use 32-bit for ImWchar (default is 16-bit) to support unicode planes 1-16. (e.g. point beyond 0xFFFF like emoticons, dingbats, symbols, shapes, ancient languages, etc...)
default:
True
manual:
True
library
exposed-modules:
@ -27,20 +42,28 @@ library
Haskell2010
ghc-options:
-Wall
install-includes:
implot/implot.h
implot/implot_internal.h
cxx-sources:
implot/implot.cpp
implot/implot_demo.cpp
implot/implot_items.cpp
cxx-options:
-std=c++11
extra-libraries:
stdc++
--HSdear-imgui-1.4.0-inplace
include-dirs:
implot
dear-imgui.hs/imgui
if flag(use-wchar32)
cxx-options: -DIMGUI_USE_WCHAR32
cpp-options: -DIMGUI_USE_WCHAR32
build-depends: base
, StateVar
, containers
, dear-imgui >= 1.4.0
, dear-imgui == 1.4.0
, inline-c
, inline-c-cpp
, managed

2
imgui
View File

@ -1 +1 @@
dear-imgui.hs/imgui/
dear-imgui.hs/imgui