Changeset 484 for CMT


Ignore:
Timestamp:
Dec 14, 2008, 5:39:23 PM (16 years ago)
Author:
rybkin
Message:

See C.L. 379

Location:
CMT/HEAD
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r483 r484  
     12008-12-14    <rybkin@lal.in2p3.fr> 379
     2       
     3        * source/cmt_parser.cxx: In function fill_for_use_stamps, ensure that the
     4        use_stamps macro is set taking into account the -no_auto_imports options,
     5        in function fill_for_all_constituents, set the <constituent>_stamps macro
     6        to the stamps introduced by the -import=<package> option(s). Similar for
     7        use_libraries, <constituent>_libraries macros
     8        * mgr/fragments/application: Make use of the <constituent>_stamps macro
     9        * mgr/fragments/nmake/application: idem
     10       
    1112008-12-13    <rybkin@lal.in2p3.fr> 378
    212       
  • CMT/HEAD/mgr/fragments/application

    r469 r484  
    11#-- start of application
    22
    3 $(bin)${CONSTITUENT}${application_suffix} :: ${OBJS} $(use_stamps) $(${CONSTITUENT}stamps) requirements $(use_requirements)
     3$(bin)${CONSTITUENT}${application_suffix} :: ${OBJS} $(use_stamps) $(${CONSTITUENT}_stamps) $(${CONSTITUENT}stamps) $(use_requirements)
    44        $(link_echo) "application $@"
    55        $(link_silent) ${LINKMACRO} -o $(@).new ${OBJS} $(cmt_installarea_linkopts) $(${CONSTITUENT}_use_linkopts) $(${CONSTITUENT}linkopts) && mv -f $(@).new $(@)
  • CMT/HEAD/mgr/fragments/nmake/application

    r469 r484  
    11#-- start of application
    22
    3 $(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}stamps) requirements $(use_requirements)
     3$(bin)${CONSTITUENT}$(application_suffix) :: ${OBJS} $(use_stamps) $(${CONSTITUENT}_stamps) $(${CONSTITUENT}stamps) $(use_requirements)
    44        $(link_echo) application $@
    55        $(link_silent) ${LINKMACRO} /out:$(bin)${CONSTITUENT}$(application_suffix) @<<
  • CMT/HEAD/source/cmt_parser.cxx

    r482 r484  
    73367336    if (!Symbol::is_selected ("use_stamps"))
    73377337      {
     7338        /*
    73387339        buffer = "macro use_stamps \"";
    73397340        (Use::current()).fill_macro (buffer, "stamps");
     
    73537354       
    73547355        buffer += "\"";
    7355        
     7356        */
     7357        Use::fill_macro_all (buffer, "stamps");
    73567358        apply ();
    73577359      }
     
    74817483    if (!Symbol::is_selected ("use_libraries"))
    74827484      {
     7485        /*
    74837486        buffer  = "macro use_libraries \"";
    74847487
     
    74977500       
    74987501        buffer += "\"";
    7499        
     7502        */       
     7503        Use::fill_macro_all (buffer, "libraries");
    75007504        apply ();
    75017505      }
     
    75787582   *    <constituent>linkopts
    75797583   *    <constituent>_GUID
     7584   *    <constituent>_libraries
     7585   *    <constituent>_stamps
    75807586   *
    75817587   */
     
    79077913        apply ();
    79087914       
     7915        buffer = "macro_append ";
     7916        buffer += constituent.name;
     7917        buffer += "_libraries ";
     7918        buffer += " \" ";
     7919        for (i = 0; i < imports.size (); i++)
     7920          {
     7921            Use* u = imports[i];
     7922           
     7923            u->fill_macro (buffer, "libraries");
     7924          }
     7925        buffer += "\"";
     7926        apply ();
     7927
     7928        buffer = "macro_append ";
     7929        buffer += constituent.name;
     7930        buffer += "_stamps ";
     7931        buffer += " \" ";
     7932        for (i = 0; i < imports.size (); i++)
     7933          {
     7934            Use* u = imports[i];
     7935           
     7936            u->fill_macro (buffer, "stamps");
     7937          }
     7938        buffer += "\"";
     7939        apply ();
     7940
    79097941        /**
    79107942         *  Setting ${CONSTITUENT}linkopts is a temporary solution
Note: See TracChangeset for help on using the changeset viewer.