Changeset 474 for CMT/HEAD/source/cmt_generators.cxx
- Timestamp:
- Nov 18, 2008, 12:28:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_generators.cxx
r469 r474 351 351 filter_path (m_FILEPATH.value); 352 352 353 /* 353 354 m_LINE = m_FULLNAME.value; 354 355 m_LINE += " "; 356 */ 355 357 356 358 filter_path (m_FULLNAME.value); 357 filter_path (m_LINE.value);359 // filter_path (m_LINE.value); 358 360 359 361 CmtSystem::get_suffix (name, m_FILESUFFIX.value); … … 394 396 if (m_PACKOS9) 395 397 { 396 os9sources += m_LINE; 398 // os9sources += m_LINE; 399 os9sources += m_FULLNAME.value; 397 400 os9sources += " "; 398 401 } … … 464 467 const cmt_vector<cmt_regexp>& selects = constituent.select_exprs; 465 468 466 m_LINE = "";469 // m_LINE = ""; 467 470 468 471 for (i = 0; i < sources.size (); i++) … … 496 499 } 497 500 501 /* 498 502 if (count > 0) 499 503 { … … 501 505 m_LINE += " "; 502 506 } 503 } 504 505 fill_outputs (); 507 */ 508 } 509 510 fill_names_outputs (); 511 //fill_outputs (); 506 512 507 513 prepare_use_context (); … … 942 948 const cmt_vector<cmt_regexp>& selects = constituent.select_exprs; 943 949 944 m_LINE = "";950 // m_LINE = ""; 945 951 946 952 for (i = 0; i < sources.size (); i++) … … 960 966 filter_path (full_name); 961 967 968 /* 962 969 if (count > 0) 963 970 { … … 965 972 m_LINE += " "; 966 973 } 974 */ 967 975 968 976 for (int j = 0; j < files.size (); j++) … … 977 985 } 978 986 979 fill_outputs (); 987 fill_names_outputs (); 988 // fill_outputs (); 980 989 981 990 prepare_use_context (); … … 2743 2752 // Get rid of files that may come from the makefile fragment 2744 2753 if (file_name.find ("requirements") != cmt_string::npos) source_number--; 2745 else if (file_name.substr (0, 5) == "-out=") 2746 { 2747 if (!all_sources) source_number--; 2754 else if (file_name.substr (0, 5) == "-out=" || 2755 file_name.substr (0, 5) == "-out:" || 2756 file_name.substr (0, 5) == "/out:" || 2757 file_name.substr (0, 5) == "/out=") 2758 { 2759 source_number--; 2748 2760 file_name.erase (0, 5); 2749 2761 m_output_file_name = file_name; 2750 2762 } 2751 2763 else if (file_name.find (".make") != cmt_string::npos) source_number--; 2752 else if (file_name == "-all_sources") 2764 else if (file_name == "-all_sources" || 2765 file_name == "/all_sources") 2753 2766 { 2754 2767 source_number = sources.size (); 2755 2768 all_sources = true; 2756 2769 } 2757 else if (file_name == "-no_stamps") 2758 { 2759 if (!all_sources) source_number--; 2770 else if (file_name == "-no_stamps" || 2771 file_name == "/no_stamps") 2772 { 2773 source_number--; 2760 2774 m_stamps = false; 2761 2775 }
Note: See TracChangeset
for help on using the changeset viewer.