Changeset 481 for CMT


Ignore:
Timestamp:
Nov 28, 2008, 9:17:46 PM (16 years ago)
Author:
rybkin
Message:

See C.L. 376

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r474 r481  
     12008-11-28    <rybkin@lal.in2p3.fr> 376
     2       
     3        * source/cmt_parser.cxx: In function fill_for_all_constituents, ensure that
     4        the <constituent>_use_linkopts macro is set in case the constituent
     5        -import=<package> options constituent effectively import nothing
     6
    172008-11-18    <rybkin@lal.in2p3.fr> 375
    28       
  • CMT/HEAD/source/cmt_parser.cxx

    r469 r481  
    76147614      {
    76157615        const Constituent& constituent = constituents[number];
     7616       
     7617        //==== GLAST addition for vs.net ==========
     7618        buffer = "macro ";
     7619        buffer += constituent.name;
     7620        buffer += "_GUID \"{88BF15AB-5A2D-4bea-B64F-02752C2A1F4F}\" ";
     7621        apply ();
    76167622       
    76177623        if (Cmt::get_debug ())
     
    77657771          }
    77667772       
     7773        /**
     7774         *  Only for linkopts we take care of the order. This means
     7775         *  that ${CONSTITUENT}_use_linkopts should be used in place of use_linkopts.
     7776         *
     7777         *  (see the application fragments)
     7778         *  that ${CONSTITUENT}_use_linkopts will be used in place of use_linkopts.
     7779         */
     7780        buffer = "macro_append ";
     7781        buffer += constituent.name;
     7782        buffer += "_use_linkopts ";
     7783        buffer += " \" ";
     7784       
     7785        current_use->fill_macro (buffer, "linkopts");
     7786       
     7787        for (i = 0; i < Uses.size (); i++)
     7788          {
     7789            if (auto_imports_states[i])
     7790              {
     7791                Use* u = Uses[i];
     7792               
     7793                if (u->discarded) continue;
     7794                if (u->m_hidden) continue;
     7795               
     7796                Package* p = u->get_package ();
     7797                if (p->is_cmt ()) continue;
     7798               
     7799                u->fill_macro (buffer, "linkopts");
     7800              }
     7801          }
     7802        buffer += "\"";
     7803        apply ();
     7804       
    77677805        if (imports.size () == 0) continue;
    77687806       
     
    78907928        apply ();
    78917929        */
    7892        
    7893         /**
    7894          *  Only for linkopts we take care of the order. This means
    7895          *  that ${CONSTITUENT}_use_linkopts should be used in place of use_linkopts.
    7896          *
    7897          *  (see the application fragments)
    7898          *  that ${CONSTITUENT}_use_linkopts will be used in place of use_linkopts.
    7899          */
    7900         buffer = "macro_append ";
    7901         buffer += constituent.name;
    7902         buffer += "_use_linkopts ";
    7903         buffer += " \" ";
    7904        
    7905         current_use->fill_macro (buffer, "linkopts");
    7906        
    7907         for (i = 0; i < Uses.size (); i++)
    7908           {
    7909             if (auto_imports_states[i])
    7910               {
    7911                 Use* u = Uses[i];
    7912                
    7913                 if (u->discarded) continue;
    7914                 if (u->m_hidden) continue;
    7915                
    7916                 Package* p = u->get_package ();
    7917                 if (p->is_cmt ()) continue;
    7918                
    7919                 u->fill_macro (buffer, "linkopts");
    7920               }
    7921           }
    7922         buffer += "\"";
    7923         apply ();
    7924        
    7925         //==== GLAST addition for vs.net ==========
    7926         buffer = "macro ";
    7927         buffer += constituent.name;
    7928         buffer += "_GUID \"{88BF15AB-5A2D-4bea-B64F-02752C2A1F4F}\" ";
    7929         apply ();
    79307930      }
    79317931  }
Note: See TracChangeset for help on using the changeset viewer.