I made a little starpack helper, that incorporates ML Editor, SDX, tkcon for linux users and windows if they want just like a tiny TCL development environment
** ML added feature:
Wrap for windows
Wrap for linux
** New commands:
sdx opt1 opt2 .... (you can learn to use sdx in some other article XD)
qspack scriptname outbinaryfilename ?platform?
tkcon show/hide
so with one file you can crosscompile for two platforms
Example:
you have a file called x.tcl
open it in the ML that will start from devkit.kit
then you want to add a a file for the app
make a dir called x_app near x.tcl and put files into it
then you want to add packages too
make a dir called x_lib near x.tcl and put the packages directorys into it
when you go in menu Starpack and press Wrap to Windows EXE
it will make a starpack exacly as you want so
maybe you wont need to use sdx anymore
but if you need sdx just type in tk console: (example)
sdx qwrap x.ctl
and it will use it's internal sdx
maybe u would like to use cmdline to make your starpacks or use sdx from cmdline
just use for example
devkit.exe qspack x.tcl o.exe ?platform?
devkit.exe sdx unwrap x.kit
devkit.exe any tcl command you like
note that qspack can be used from tk console
some elite member here could help me write a more good thing than this because i'm not english
StarKit |
---|