How to build multiple sub-projs

View: New views
3 Messages — Rating Filter:   Alert me  

How to build multiple sub-projs

by Anant Rao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
 
Say, a directory dir1 has Jamroot.
dir1 has 2 sub-dirs:  dir2, dir3, each having a Jamfile.
 
By running bjam in dir1, how to invoke Jamfile in dir2 and dir3?
 
I tried 'build-project' dir1 dir2   in  Jamroot in dir1.
It gave a syntax error, saying only param could be passed to build-project.
 
Thanks,
Anant Rao

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How to build multiple sub-projs

by Michael Caisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anant Rao wrote:

> Hi,
>  
> Say, a directory dir1 has Jamroot.
> dir1 has 2 sub-dirs:  dir2, dir3, each having a Jamfile.
>  
> By running bjam in dir1, how to invoke Jamfile in dir2 and dir3?
>  
> I tried 'build-project' dir1 dir2   in  Jamroot in dir1.
> It gave a syntax error, saying only param could be passed to
> build-project.
>  
> Thanks,
> Anant Rao
> ------------------------------------------------------------------------
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>  

Anant -

List them separately:

build-project dir1 ;
build-project dir2 ;


michael

--

----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: How to build multiple sub-projs

by Anant Rao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks so much!
If only I applied my 'brain' a bit more....

-----Original Message-----
From: boost-build-bounces@... [mailto:boost-build-bounces@...] On Behalf Of Michael Caisse
Sent: Monday, June 29, 2009 10:58 PM
To: Boost.Build developer's and user's list
Subject: Re: [Boost-build] How to build multiple sub-projs

Anant Rao wrote:

> Hi,
>  
> Say, a directory dir1 has Jamroot.
> dir1 has 2 sub-dirs:  dir2, dir3, each having a Jamfile.
>  
> By running bjam in dir1, how to invoke Jamfile in dir2 and dir3?
>  
> I tried 'build-project' dir1 dir2   in  Jamroot in dir1.
> It gave a syntax error, saying only param could be passed to
> build-project.
>  
> Thanks,
> Anant Rao
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>  

Anant -

List them separately:

build-project dir1 ;
build-project dir2 ;


michael

--

----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build