diff --git a/logos_delivery.nimble b/logos_delivery.nimble index 7bd3402e7..ccc05f75a 100644 --- a/logos_delivery.nimble +++ b/logos_delivery.nimble @@ -8,7 +8,10 @@ version = "0.38.1" author = "Status Research & Development GmbH" description = "Logos-delivery, Private P2P Messaging for Resource-Restricted Devices" license = "MIT or Apache License 2.0" -skipDirs = @["tests", "examples", "tools", "apps", "simulations", "metrics"] +skipDirs = @["tests", "examples", "apps", "simulations", "metrics"] + +# Nimble installs only the namesake directory; dependents need these too. +installDirs = @["library", "migrations", "tools"] const RequiredNimVersion = "2.2.4" ## This is the nim compiler version that we are working on. Other versions may behave differently. @@ -509,6 +512,14 @@ let chroniclesParams = ## Liblogosdelivery build tasks +task liblogosdelivery, "Build liblogosdelivery for the host platform": + when defined(windows): + buildLibDynamicWindows("liblogosdelivery", "library") + elif defined(macosx): + buildLibDynamicMac("liblogosdelivery", "library") + else: + buildLibDynamicLinux("liblogosdelivery", "library") + task liblogosdeliveryDynamicWindows, "Generate bindings": buildLibDynamicWindows("liblogosdelivery", "library")