View Full Version : Using SCons with vala?
days_of_ruin
March 3rd, 2009, 08:46 PM
Is it possible to use SCons to compile vala programs?
cabalas
March 3rd, 2009, 09:12 PM
A quick search on the SCons wiki lead me to this http://www.scons.org/wiki/ValaBuilder , which looks like it would be a plugin to allow for compiling with vala could be worth looking into.
days_of_ruin
March 3rd, 2009, 10:18 PM
A quick search on the SCons wiki lead me to this http://www.scons.org/wiki/ValaBuilder , which looks like it would be a plugin to allow for compiling with vala could be worth looking into.
Any idea on how to install it and use it?
cabalas
March 4th, 2009, 02:45 AM
Looking through the user manual it has a whole section on writing/using custom builders http://www.scons.org/doc/1.2.0/HTML/scons-user/c3427.html that should help you
days_of_ruin
March 16th, 2009, 07:05 PM
Looking through the user manual it has a whole section on writing/using custom builders http://www.scons.org/doc/1.2.0/HTML/scons-user/c3427.html that should help you
Still haven't figured it out.Is there any scons users here that have used this or other custom scons builders?
Jan-Nik
April 19th, 2009, 04:21 PM
Create a directory called scons-tools and insert the code into a file called "vala.py".
Then:
# Load the custom vala builder
env.Tool('vala', toolpath=['scons-tools'])
env.Decider('content')
vala = env.Vala(Glob('*.vala'))
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.