Changeset 474 for CMT/HEAD/source/cmt_generator.cxx
- Timestamp:
- Nov 18, 2008, 12:28:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_generator.cxx
r467 r474 316 316 317 317 //-------------------------------------------------- 318 void CmtGenerator::fill_names_outputs () 319 { 320 bool first = true; 321 322 m_LINE = ""; 323 m_OBJS = ""; 324 325 for (int i = 0; i < m_source_files.size (); i++) 326 { 327 const SourceFile& file = m_source_files[i]; 328 const cmt_string name = file.name (); 329 const cmt_string output = file.output (); 330 331 if (output != "") 332 { 333 if (first) 334 { 335 first = false; 336 } 337 else 338 { 339 m_LINE += " "; 340 m_OBJS += " "; 341 } 342 m_LINE += name; 343 m_OBJS += output; 344 } 345 346 if (Cmt::get_debug ()) 347 { 348 cout << "CmtGenerator::fill_names_ outputs>" << endl; 349 cout << "name=" << name << " LINE=" << m_LINE << endl; 350 cout << "output=" << output << " OBJS=" << m_OBJS << endl; 351 } 352 } 353 } 354 355 //-------------------------------------------------- 318 356 void CmtGenerator::fill_outputs () 319 357 {
Note: See TracChangeset
for help on using the changeset viewer.