[Vala] vapi tip
- From: Sam Liddicott <sam liddicott com>
- To: Vala ML <vala-list gnome org>
- Subject: [Vala] vapi tip
- Date: Fri, 18 Jul 2008 15:58:09 +0100
I just found this out yesterday but it may help other people;
you can specify a .vapi file on the command line just like a .vala file.
Instead of:
/usr/bin/valac -C --vapidir=src --pkg api --pkg zlib --pkg gtk+-2.0
--basedir . src/mainwindow.vala
you can do:
/usr/bin/valac -C --pkg zlib --pkg gtk+-2.0 --basedir .
src/mainwindow.vala src/api.vapi
It allows you to treat the vapi file as a regular source file for
makefile purposes, as well not having to do anything like installing it.
Sam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]