List Info

Thread: forcing a rebuild when using a build variant




forcing a rebuild when using a build variant
user name
2007-01-05 13:45:09

Stan Gunawan wrote:
> Hi,
>
> Is there a way to force a rebuild (or clean + build) when using a
> particular build variant?
>
> Say when using the 'release' variant, I'd like to force everything to be
> rebuilt.

> 

bjam -a release 

Sorry I didn't make it clearer. I know about the "-a" option, but I would like to enforce this in project-root.jam / Jamfile.

I guess the idea is for people not to forget to do a clean first, or use "-a".

I suppose I could just do an alias bjam-rel="bjam -a release", but that's a bit yucky. 


-- 
  /Brian Riis

forcing a rebuild when using a build variant
user name
2007-01-06 13:40:59
On Friday 05 January 2007 16:45, Stan Gunawan wrote:

> > >
> >
> > bjam -a release
> Sorry I didn't make it clearer. I know about the
"-a" option, but I  
> would like to enforce this in project-root.jam /
Jamfile.
> 
> I guess the idea is for people not to forget to do a
clean first, or  
> use "-a".
> 
> I suppose I could just do an alias bjam-rel="bjam
-a release", but  
> that's a bit yucky.

I think auto-rebuild when using "release" is a bit
non-standard. I suppose
you can do it by editing build-system.jam and keeping that
modification
locally. I can't immediately imagine how this can be
supported in a clean
way.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )