Re: [Vala] vapi tip



Daniel Svensson wrote:
On Fri, Jul 18, 2008 at 4:58 PM, Sam Liddicott <sam liddicott com> wrote:
  
you can do:
/usr/bin/valac -C --pkg zlib --pkg gtk+-2.0 --basedir .
src/mainwindow.vala src/api.vapi
    

However, --pkg api automagically handles dependencies and runs
pkg-config for you, so it's much easier to use in most scenorios.
  
I should have said it was useful for mixed C/vala projects, so that vala can generated C code compatible with the existing C which can then all be linked together,

Sam


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