Changeset 626 for CMT


Ignore:
Timestamp:
Nov 23, 2012, 1:53:40 PM (11 years ago)
Author:
rybkin
Message:

See C.L. 497

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r625 r626  
     12012-11-23    <rybkin@lal.in2p3.fr> 497
     2
     3        * source/cmt_generators.cxx: In class DocumentGenerator function build,
     4        add template LINE for fragments document's header, trailer, add template
     5        OUTPUTNAME for fragments dependency, document's fragment
     6       
    172012-11-07    <rybkin@lal.in2p3.fr> 496
    28
  • CMT/HEAD/source/cmt_generators.cxx

    r613 r626  
    11141114    {
    11151115      FragmentHandle header_fragment (header);
    1116       header_fragment.copy (m_output_file, constituent.variables, 3,
     1116      header_fragment.copy (m_output_file, constituent.variables, 4,
    11171117                            &m_CONSTITUENT,
    11181118                            &m_CONSTITUENTSUFFIX,
    1119                             &m_OBJS);
     1119                            &m_OBJS,
     1120                            &m_LINE);
    11201121    }
    11211122  else
     
    11831184      SourceFile& file = m_source_files[i];
    11841185      const cmt_string& file_name = file.name ();
     1186      m_OUTPUTNAME = file.output ();
    11851187      m_FULLNAME = file_name;
    11861188      CmtSystem::get_dot_suffix (file_name, suffix);
     
    11931195      m_FILESUFFIX.value = suffix;
    11941196      //CmtSystem::get_dot_suffix (m_FILENAME.value, m_FILESUFFIX.value);
    1195       CmtSystem::get_suffix (m_FILENAME.value, m_FILEEXTENSION .value);
     1197      CmtSystem::get_suffix (m_FILENAME.value, m_FILEEXTENSION.value);
    11961198      /*
    11971199      if (!CmtSystem::test_file (file_name) && !CmtSystem::test_directory (file_name))
     
    12061208          // ensure that ${CONSTITUENT}_dependencies.make gets rebuilt
    12071209          // whenever source file OR its dependencies change
    1208           if (!dependency_fragment.copy (m_output_file, constituent.variables, 9,
     1210          if (!dependency_fragment.copy (m_output_file, constituent.variables, 10,
    12091211                                         &m_FILEPATH,
    12101212                                         &m_SUFFIX,
     1213                                         &m_OUTPUTNAME,
    12111214                                         &m_CONSTITUENT,
    12121215                                         &m_CONSTITUENTSUFFIX,
     
    12181221        }
    12191222     
    1220       fragment.copy (m_output_file, constituent.variables, 9,
     1223      fragment.copy (m_output_file, constituent.variables, 10,
    12211224                     &m_FILEPATH,
    12221225                     &m_SUFFIX,
     1226                     &m_OUTPUTNAME,
    12231227                     &m_CONSTITUENT,
    12241228                     &m_CONSTITUENTSUFFIX,
     
    12341238    {
    12351239      FragmentHandle trailer_fragment (trailer);
    1236       trailer_fragment.copy (m_output_file, constituent.variables, 3,
     1240      trailer_fragment.copy (m_output_file, constituent.variables, 4,
    12371241                             &m_CONSTITUENT,
    12381242                             &m_CONSTITUENTSUFFIX,
    1239                              &m_OBJS);
     1243                             &m_OBJS,
     1244                             &m_LINE);
    12401245    }
    12411246
Note: See TracChangeset for help on using the changeset viewer.