|
Boost-Build : |
From: TEMPLIE Cédric (cedric.templie_at_[hidden])
Date: 2005-01-04 04:08:24
The problem is solved :)
It was because BB cannot find the project-root.jam... (for the Jamfiles
in $(JAMFILES_ROOT)).
TEMPLIE Cédric
TEMPLIE Cédric wrote:
> First of all, I wish you an Happy New Year :)
>
> I come back with another question...
>
> I want to to the following thing: If I have files of the project I build
> it, else I do nothing (It means that project has already been build, and
> I just have to retrieve libraries, in my case from perforce)
>
> My_project use all sips libs.
> in the jamfile of My_projet I had in project requirements
> <dependency>/interpr//library
>
> #Jamfile ---
>
> build-project TEST/My_project ;
>
> if [ glob SIPS ]
> {
> #SIPS sources available
> #SIPS Executables...
> build-project SIPS/Components/ARS ;
> build-project SIPS/Components/CRS ;
> build-project SIPS/Components/IPRS ;
> build-project SIPS/Components/KDS ;
> build-project SIPS/Components/sipscore ;
> build-project SIPS/Components/TS ;
>
> #SDK Executables...
> #build-project SIPS/SDK/C/Wrapper ;
> #build-project SIPS/SDK/C++/Wrapper ;
>
> #SIPS Libraries...
> #build-project SIPS/Libraries/sips_ag_public ;
> use-project /interpr : SIPS/Libraries/interpr ;
> use-project /simde : SIPS/Libraries/simde ;
> use-project /simde_ex : SIPS/Libraries/simde_ex ;
> use-project /sips_ag : SIPS/Libraries/sips_ag ;
> use-project /su_base : SIPS/Libraries/su_base ;
> use-project /su_cript : SIPS/Libraries/su_cript ;
> use-project /su_thread : SIPS/Libraries/su_thread ;
> use-project /su_xml : SIPS/Libraries/su_xml ;
> use-project /usb_devices : SIPS/Libraries/usb_devices ;
> }
> else
> {
> #SIPS sources unavailable,
> #so use already build libraries
> # Just a p4 sync...
> use-project /interpr : $(LIB_ROOT) ;
> use-project /simde : $(LIB_ROOT) ;
> use-project /simde_ex : $(LIB_ROOT) ;
> use-project /sips_ag : $(LIB_ROOT) ;
> use-project /su_base : $(LIB_ROOT) ;
> use-project /su_cript : $(LIB_ROOT) ;
> use-project /su_thread : $(LIB_ROOT) ;
> use-project /su_xml : $(LIB_ROOT) ;
> use-project /usb_devices : $(LIB_ROOT) ;
> }
>
> # Jamfile ---
>
> The Jamfile in $(LIB_ROOT) only contain the following 2 lines:
> alias library ;
> alias export_headers ;
>
> But I have an error that tell me that project loaded by use-project has
> no project id...
>
> I understand why... but how can I deal with this problem ?
> If I had a project Id, in Jamfile of $(LIB_ROOT) I have another error
> that tell me that project Id is redefined....
>
> At the end, what I need, it is just that a project can be defined with
> multiple name... and of course I don't if it is possible, that is why I
> am looking for an alternative to do that.
>
> Thanks in advance
>
> TEMPLIE Cédric
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk