On Tue, Dec 28, 2010 at 10:37:24PM +0100, Jon Nordby wrote:
> 
> This also reminds me that there is more stuff that should be fixed in
> our build system. We are running some stuff directly in the
> sconscript/sconstruct, instead of creating targets like we should:
> 
> scons: Reading SConscript files ...
> Building for python2.7
> swig -o mypaintlib_wrap.cpp -noproxydel -python -c++ mypaintlib.i
> python2.7 generate.py
> Writing brushsettings.hpp
> scons: done reading SConscript files.
> scons: Building targets ...
> 
> The code that makes that output between the "scons: ..." lines should
> actually be executed after "building targets".

Yes, in principle. I tried this in the beginning, but it seemed too
difficult to get the dependencies right, without manually maintaining a list
of all source files.  I don't mind if swig runs every time, it's fast.

I think we would be doing just as well using a build script, without scons,
just rebuild everything every time.  Or switch to distutils, which knows
best where to install/find python stuff.

Except that we got things running fine with scons already...

-- 
Martin Renold

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to