Compile release version of example with -d:lto and -d:strip

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2024-04-22 18:36:03 +02:00
parent 5aebe31715
commit 308da25bbc
1 changed files with 2 additions and 0 deletions

View File

@ -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: