- Timestamp:
- Nov 13, 2009, 11:56:56 AM (15 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r525 r526 1 2009-11-13 <rybkin@lal.in2p3.fr> 413 2 3 * source/cmt_project.h: In class Project, restore function get_container 4 returning (reference to) container object 5 * source/cmt_project.cxx: Implement the modified function 6 * source/cmt_syntax.cxx: In function SyntaxParser::parse_requirements, 7 apply tag container_package if the current package is the container package 8 of the project 9 1 10 2009-11-06 <rybkin@lal.in2p3.fr> 412 2 11 -
CMT/HEAD/source/cmt_project.cxx
r525 r526 1800 1800 1801 1801 //---------------------------------------------------------- 1802 const Use& Project::get_container () const 1803 { 1804 return (m_container); 1805 } 1806 1807 //---------------------------------------------------------- 1802 1808 const cmt_string& Project::get_cmtpath () const 1803 1809 { -
CMT/HEAD/source/cmt_project.h
r525 r526 140 140 const cmt_string& get_container_version () const; 141 141 const cmt_string& get_container_path () const; 142 //const Use& get_container () const;142 const Use& get_container () const; 143 143 const cmt_string& get_cmtpath () const; 144 144 const cmt_string& get_cmtpath_real () const; -
CMT/HEAD/source/cmt_syntax.cxx
r525 r526 1464 1464 1465 1465 } 1466 // Apply tag container_package if 1467 // the current package is the container package of the project 1468 if (use == &(Use::current ()) && 1469 use->get_package_name() == p->get_container ().get_package_name () && 1470 use->version == p->get_container ().version) 1471 { 1472 cmt_string name ("container_package"); 1473 cmt_string context ("PROJECT " + p->get_name () + " "); 1474 Tag* tag = Tag::find (name); 1475 if (tag == 0) 1476 { 1477 tag = Tag::add (name, PriorityUserTag, context, use); 1478 } 1479 tag->mark (); 1480 } 1466 1481 } 1467 1482 use->close_scope_sections ();
Note: See TracChangeset
for help on using the changeset viewer.