On Thu, Aug 23, 2007 at 01:28:19PM -0500, Bo Peng wrote:
> > Just from a user's point of view: Do I really have to give the full
> > scons commandline or is there some kind of shortcut once the thing is
> > build already.
> >
> > scons --implicit-deps-unchanged -f ../trunk/development/scons/SConstruct
> > mode=release
> 
> --implicit-deps-unchanged is not recommended. Best to spend this 2 seconds.
> 
> -f ../trunk/development/scons/SConstruct can be shortened or removed
> if you ln -s development/scons/SConstruct to top source directory.

So  scons -f  ../trunk/SConstruct remains?

In that case I'd prefer

  alias sc='scons -f ../trunk/development/scons/SConstruct'

> usually do this and build from the top source directory. scons will
> build in debug or release subdirectory and will not mess up with src
> in any way.
> 
> All other options are cached, so I always do 'scons install -j4' after
> the first successful run.

Ok.

> > is impractical, and having shell aliases for every imaginable target
> > probably isn't either.
> 
> I prefer 'scons intall', which builds lyx, tex2lyx, client and
> install. Because scons only build and install changed stuff, it is
> fast. You can do 'scons lyx' or 'scons tex2lyx' if you do not want to
> copy debug/lyx16.exe to /usr/local/bin/lyx16.exe (my case).

Well, I certainly do not want to have my stuff installed just because I
happend to build it...

Andre'

Reply via email to