From 0d76e2036a898e020c32edddcc3775af411c4aa9 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Thu, 21 Jul 2022 23:58:48 +0200 Subject: [PATCH] sharedLib foo --- cabal.project | 6 +----- deps/dear-implot.hs | 2 +- ibhelper.cabal | 35 ++++++++++++++++------------------- 3 files changed, 18 insertions(+), 25 deletions(-) diff --git a/cabal.project b/cabal.project index fad8e3b..08a1493 100644 --- a/cabal.project +++ b/cabal.project @@ -2,8 +2,4 @@ packages: deps/dear-imgui.hs deps/dear-implot.hs *.cabal package ibhelper - ghc-options: -Wall -Wcompat -fno-warn-unused-do-bind -g3 -package dear-imgui - ghc-options: -g3 -dynamic -package dear-implot - ghc-options: -g3 -dynamic + ghc-options: -Wall -Wcompat -fno-warn-unused-do-bind diff --git a/deps/dear-implot.hs b/deps/dear-implot.hs index 49539fc..dbb5290 160000 --- a/deps/dear-implot.hs +++ b/deps/dear-implot.hs @@ -1 +1 @@ -Subproject commit 49539fc1ba04c590af0718066ce7a9aead8ff336 +Subproject commit dbb5290f66a580eea7702fd6402647b2f633a645 diff --git a/ibhelper.cabal b/ibhelper.cabal index ae1fb57..bbc0d95 100644 --- a/ibhelper.cabal +++ b/ibhelper.cabal @@ -78,13 +78,13 @@ library TypeSynonymInstances ViewPatterns DuplicateRecordFields - ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -dynamic - include-dirs: - deps/dear-implot.hs/implot - deps/dear-imgui.hs/imgui - extra-libraries: - HSdear-imgui-2.0.0-inplace-ghc8.10.7 - HSdear-implot-1.0.0-inplace-ghc8.10.7 + ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -static -dynamic-too + -- include-dirs: + -- deps/dear-implot.hs/implot + -- deps/dear-imgui.hs/imgui + -- extra-libraries: + -- HSdear-imgui-2.0.0-inplace + -- HSdear-implot-1.0.0-inplace build-depends: StateVar , aeson @@ -157,12 +157,9 @@ executable ibhelper-exe ViewPatterns DuplicateRecordFields ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -dynamic - include-dirs: - deps/dear-implot.hs/implot - deps/dear-imgui.hs/imgui - extra-libraries: - HSdear-imgui-2.0.0-inplace-ghc8.10.7 - HSdear-implot-1.0.0-inplace-ghc8.10.7 + -- include-dirs: + -- deps/dear-implot.hs/implot + -- deps/dear-imgui.hs/imgui build-depends: StateVar , aeson @@ -238,12 +235,12 @@ test-suite ibhelper-test ViewPatterns DuplicateRecordFields ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N - include-dirs: - deps/dear-implot.hs/implot - deps/dear-imgui.hs/imgui - extra-libraries: - HSdear-imgui-2.0.0-inplace-ghc8.10.7 - HSdear-implot-1.0.0-inplace-ghc8.10.7 + -- include-dirs: + -- deps/dear-implot.hs/implot + -- deps/dear-imgui.hs/imgui + -- extra-libraries: + -- HSdear-imgui-2.0.0-inplace + -- HSdear-implot-1.0.0-inplace build-depends: StateVar , aeson