Compile release version of example with -d:lto and -d:strip
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
parent
5aebe31715
commit
308da25bbc
|
@ -64,6 +64,8 @@ task build_ex, "Build given example plugin":
|
||||||
echo &"Compiling plugin {example} in release mode."
|
echo &"Compiling plugin {example} in release mode."
|
||||||
switch("define", "release")
|
switch("define", "release")
|
||||||
switch("opt", "speed")
|
switch("opt", "speed")
|
||||||
|
switch("define", "lto")
|
||||||
|
switch("define", "strip")
|
||||||
|
|
||||||
setCommand("compile", source)
|
setCommand("compile", source)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue