Re: [Vala] Q: release precompiled sources?



Hi lode,

2009/4/14 lode leroy <lode leroy gmail com>
I wonder if it's possible to pre-compile vala code to "C"
and make a release of the pre-compiled code,
so that it can be compiled on the target platform
without vala installed?
a bit like autotools that generates a "configure"
file that works without autotools installed.

You can use vala-gen-project in the command line, that command is present in vtg[1] , before was in the source of vala. This command will generate all the configure, makefiles, etc. you need....
BTW, compile vtg with vala 0.6.1, not with 0.7.0
For now that version of vala-gen-project will generate the autotools files for a compilation with 0.6.1, but apply this changes [2] for compile your project with vala 0.7.0

[1] http://code.google.com/p/vtg/
[2] http://www.mail-archive.com/vala-list gnome org/msg02480.html

Matias


_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]