From 308da25bbc5d5ac63cd73921c849a6d29c6a34ab Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Mon, 22 Apr 2024 18:36:03 +0200 Subject: [PATCH] Compile release version of example with -d:lto and -d:strip Signed-off-by: Christopher Arndt --- nymph.nimble | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nymph.nimble b/nymph.nimble index 06d4fe8..194ad0e 100644 --- a/nymph.nimble +++ b/nymph.nimble @@ -64,6 +64,8 @@ task build_ex, "Build given example plugin": echo &"Compiling plugin {example} in release mode." switch("define", "release") switch("opt", "speed") + switch("define", "lto") + switch("define", "strip") setCommand("compile", source) else: