Changeset 637 for CMT/v1r25-branch/source/cmt_generators.cxx
- Timestamp:
- Jun 6, 2013, 2:43:50 PM (11 years ago)
- Location:
- CMT/v1r25-branch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/v1r25-branch
-
CMT/v1r25-branch/source/cmt_generators.cxx
r613 r637 1114 1114 { 1115 1115 FragmentHandle header_fragment (header); 1116 header_fragment.copy (m_output_file, constituent.variables, 3,1116 header_fragment.copy (m_output_file, constituent.variables, 4, 1117 1117 &m_CONSTITUENT, 1118 1118 &m_CONSTITUENTSUFFIX, 1119 &m_OBJS); 1119 &m_OBJS, 1120 &m_LINE); 1120 1121 } 1121 1122 else … … 1183 1184 SourceFile& file = m_source_files[i]; 1184 1185 const cmt_string& file_name = file.name (); 1186 m_OUTPUTNAME = file.output (); 1185 1187 m_FULLNAME = file_name; 1186 1188 CmtSystem::get_dot_suffix (file_name, suffix); … … 1193 1195 m_FILESUFFIX.value = suffix; 1194 1196 //CmtSystem::get_dot_suffix (m_FILENAME.value, m_FILESUFFIX.value); 1195 CmtSystem::get_suffix (m_FILENAME.value, m_FILEEXTENSION 1197 CmtSystem::get_suffix (m_FILENAME.value, m_FILEEXTENSION.value); 1196 1198 /* 1197 1199 if (!CmtSystem::test_file (file_name) && !CmtSystem::test_directory (file_name)) … … 1206 1208 // ensure that ${CONSTITUENT}_dependencies.make gets rebuilt 1207 1209 // 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, 1209 1211 &m_FILEPATH, 1210 1212 &m_SUFFIX, 1213 &m_OUTPUTNAME, 1211 1214 &m_CONSTITUENT, 1212 1215 &m_CONSTITUENTSUFFIX, … … 1218 1221 } 1219 1222 1220 fragment.copy (m_output_file, constituent.variables, 9,1223 fragment.copy (m_output_file, constituent.variables, 10, 1221 1224 &m_FILEPATH, 1222 1225 &m_SUFFIX, 1226 &m_OUTPUTNAME, 1223 1227 &m_CONSTITUENT, 1224 1228 &m_CONSTITUENTSUFFIX, … … 1234 1238 { 1235 1239 FragmentHandle trailer_fragment (trailer); 1236 trailer_fragment.copy (m_output_file, constituent.variables, 3,1240 trailer_fragment.copy (m_output_file, constituent.variables, 4, 1237 1241 &m_CONSTITUENT, 1238 1242 &m_CONSTITUENTSUFFIX, 1239 &m_OBJS); 1243 &m_OBJS, 1244 &m_LINE); 1240 1245 } 1241 1246 … … 2768 2773 if (constituent.need_check) 2769 2774 { 2775 if (constituent.group != 0 && 2776 constituent.group->name () == "check") 2777 m_ISCHECKGROUP = "is_check_group"; 2778 else 2779 m_ISCHECKGROUP = "is_not_check_group"; 2780 2770 2781 check_application_header_fragment.copy (m_output_file, 2771 constituent.variables, 3,2782 constituent.variables, 4, 2772 2783 &m_PACKAGE, 2773 2784 &m_CONSTITUENT, 2774 &m_CONSTITUENTSUFFIX); 2785 &m_CONSTITUENTSUFFIX, 2786 &m_ISCHECKGROUP); 2775 2787 } 2776 2788 }
Note: See TracChangeset
for help on using the changeset viewer.