Changeset 197
- Timestamp:
- Jun 2, 2006, 8:01:08 AM (18 years ago)
- Location:
- CMT/HEAD/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_awk.cxx
r194 r197 598 598 cmt_string compressed_path = path; 599 599 CmtSystem::compress_path (compressed_path); 600 CmtSystem::realpath (compressed_path, compressed_path); 600 CmtSystem::realpath (compressed_path, compressed_path); 601 601 scan_path (compressed_path, 0, a); 602 602 -
CMT/HEAD/source/cmt_generators.cxx
r11 r197 15 15 { 16 16 m_TITLE.set ("TITLE"); 17 m_STRUCTURED_OUTPUT.set ("STRUCTURED_OUTPUT"); 17 18 18 19 make_header_fragment.set ("make_header"); … … 140 141 else if (language != Language::null ()) 141 142 { 142 obj = "$(bin)"; 143 if (Cmt::build_nmake ()) obj += m_CONSTITUENT; 144 if (Cmt::build_nmake ()) obj += CmtSystem::file_separator (); 143 obj = "$(bin)"; 144 145 if (CmtSystem::getenv("STRUCTURED_OUTPUT")!="" || Cmt::build_nmake ()) 146 { 147 obj += m_CONSTITUENT; 148 obj += CmtSystem::file_separator (); 149 } 150 145 151 obj += name; 146 152 obj += language.output_suffix; … … 507 513 m_HASTARGETTAG = "has_no_target_tag"; 508 514 } 509 510 make_header_fragment.copy (m_output_file, constituent.variables, 7, 511 &m_TITLE, 515 516 m_STRUCTURED_OUTPUT = "STRUCTURED_OUTPUT"; 517 518 make_header_fragment.copy (m_output_file, constituent.variables, 8, 519 &m_TITLE, 512 520 &m_CONSTITUENT, 513 521 &m_CONSTITUENTSUFFIX, 514 &m_USER,522 &m_USER, 515 523 &m_DATE, 516 524 &m_PACKAGE, 517 &m_HASTARGETTAG); 525 &m_HASTARGETTAG, 526 &m_STRUCTURED_OUTPUT 527 ); 518 528 519 529 if (need_prototypes) … … 2816 2826 { 2817 2827 const cmt_string& name = files[j]; 2818 2819 2828 if (name != "") 2820 2829 { -
CMT/HEAD/source/cmt_generators.h
r11 r197 21 21 22 22 Variable m_TITLE; 23 Variable m_STRUCTURED_OUTPUT; 23 24 24 25 FragmentHandle make_header_fragment; -
CMT/HEAD/source/cmt_system.h
r195 r197 39 39 40 40 // Resolve symbolic links in a path. 41 static BOOLrealpath (const cmt_string& path, cmt_string& result);41 static bool realpath (const cmt_string& path, cmt_string& result); 42 42 43 43 static void dirname (const cmt_string& file_name, cmt_string& result);
Note: See TracChangeset
for help on using the changeset viewer.