- Timestamp:
- Sep 24, 2008, 11:30:23 AM (16 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r466 r467 1 2008-09-24 <rybkin@lal.in2p3.fr> 368 2 3 * source/cmt_log.h: Introduce the Verbose level of diagnostic messages that 4 is higher than the Debug level and lower than the Info level. 5 * source/cmt_parser.cxx: Set the Verbose level of diagnostic messages if 6 the CMTVERBOSE environment variable is set to a non-empty string 7 * source/cmt_symbol.cxx: Print the message about non-existent directories 8 in path-like environment variables when the Verbose level is activated 9 * source/cmt_generator.cxx: Optimise the build_windefs function 10 1 11 2008-09-22 <rybkin@lal.in2p3.fr> 367 2 12 -
CMT/HEAD/source/cmt_generator.cxx
r466 r467 843 843 { 844 844 cmt_string name; 845 CmtSystem::cmt_string_vector files; 845 // CmtSystem::cmt_string_vector files; 846 cmt_string files; 846 847 847 848 for (int i = 0; i < arguments.size (); i++) … … 868 869 text.replace_all ("\r", " "); 869 870 text.replace_all ("\n", " "); 871 files += " " + text; 872 /* 870 873 CmtSystem::cmt_string_vector words; 871 874 CmtSystem::split (text, " \t", words); … … 874 877 files.push_back (words[i]); 875 878 } 879 */ 876 880 } 877 881 else 878 files.push_back (w); 882 files += " " + w; 883 // files.push_back (w); 879 884 } 880 885 … … 886 891 if (name == "") 887 892 { 893 CmtSystem::cmt_string_vector words; 894 CmtSystem::split (files, " \t", words); 895 if (words.size () == 0) 896 { 897 CmtMessage::error ("build_windefs: no files specified"); 898 return; 899 } 888 900 cmt_string suffix; 889 CmtSystem::get_dot_suffix ( files[0], suffix);890 CmtSystem::basename ( files[0], suffix, name);901 CmtSystem::get_dot_suffix (words[0], suffix); 902 CmtSystem::basename (words[0], suffix, name); 891 903 } 892 904 if (name == "") … … 908 920 cmt_string command ("dumpbin /symbols"); 909 921 // command += library_name; 922 /* 910 923 for (int i = 0; i < files.size (); i++) 911 924 { 912 925 command += " " + files[i]; 913 926 } 927 */ 928 command += " " + files; 914 929 915 930 WinDefAwk filter (name); -
CMT/HEAD/source/cmt_log.h
r459 r467 49 49 Nil = 0, 50 50 Debug, 51 Verbose, 51 52 Info, 52 53 Warning, -
CMT/HEAD/source/cmt_parser.cxx
r466 r467 1379 1379 { 1380 1380 CmtMessage::set_level (Info); 1381 } 1382 1383 s = CmtSystem::getenv ("CMTVERBOSE"); 1384 if (s != "") 1385 { 1386 CmtMessage::set_level (Verbose); 1381 1387 } 1382 1388 -
CMT/HEAD/source/cmt_symbol.cxx
r459 r467 886 886 if (!CmtSystem::test_directory (t)) 887 887 { 888 CmtMessage::warning ("Wrong path item " + t + " in " + name); 888 if (CmtMessage::active (Verbose)) 889 CmtMessage::warning ("Non-existent directory " + t + " in " + name); 889 890 /* 890 891 if (Cmt::get_warnings ())
Note: See TracChangeset
for help on using the changeset viewer.