Re: [Vala] Vapi duplication in different dir



Thanks, Evan.

On 2015年4月2日(木) PM2:08 Evan Nemerson <evan coeus-group com> wrote:

Just pass --vapidir path/to/local/dir to valac, or pass the vapi file to
valac just as you would a source file and omit the --pkg flag.

How to do that in CMake depends on how you are compiling vala stuff in
your project―if you're using https://github.com/jakobwesthoff/Vala_CMake
then it looks like you pass the CUSTOM_VAPIS argument to vala_precompile
―there is an example in the README.


-Evan


On Thu, 2015-04-02 at 13:11 +0900, 中川祥 wrote:
I have a question now.
I have two version of vapi file for the slightestly same c library and
the
file in vapi default dir /usr/share/vala/vapi/ is not complete vapi
file,though my original local file is completed.
The project loads the default dir's file and I have no execution to
change.Does anyone know how to set up CMakelist.txt to load local one and
ignore the default dir one?
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list





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