[Mesa-dev] Revamping how to specify targets to build with scons
José Fonseca
jfonseca at vmware.com
Mon Nov 1 06:34:47 PDT 2010
I've just pushed a long time requested improvement to scons build
system.
Now is simply a matter of naming what to build. For example:
scons libgl-xlib
scons libgl-gdi
scons graw-progs
scons llvmpipe
and so on. And there is still the possibility of scepcified subdirs,
e.g.
scons src/gallium/drivers
If nothing is specified then everything will be build.
There might be some rough corners over the next days. Please bare with
me.
To create new command line targets use the env.Alias method. For
example:
mytarget = env.SharedLibrary(....)
env.Alias('mytarget', mytarget)
and you'll be able to build it by passing mytarget to scons.
Jose
More information about the mesa-dev
mailing list