PlanetSquires Forums

Support Forums => Tiko Programming Language => Topic started by: docroger on November 28, 2026, 07:33:58 AM

Title: Tiko-lang project
Post by: docroger on November 28, 2026, 07:33:58 AM
Hello,

I try using tiko-lang and porting my apps from tiko 1.3.
I try using project... not easy.

How to set the file toml for release my app.
I can only have debug exe...

Please give some examples...
Title: Re: Tiko-lang project
Post by: Paul Squires on November 28, 2026, 08:42:32 AM
Hi @docroger

I think that you may have stumbled on a little regression when trying to build a Release using tkEdit.

I tested this. When you open a project (a folder with tiko.toml) and pick Release, tkEdit still builds with the debug profile and only adds -O2. You get out/debug/hello.exe with debug info and runtime checks still in it. In my probe that was 28,672 bytes, against 15,360 bytes for a real release build.

Obviously this is not how it is supposed to work  :-)

Here's the workaround until I have this fixed for the next release:

From a terminal in the project folder:

tiko build --profile release
The exe ends up in out/release/