Changeset 481 for CMT/HEAD/source
- Timestamp:
- Nov 28, 2008, 9:17:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/source/cmt_parser.cxx
r469 r481 7614 7614 { 7615 7615 const Constituent& constituent = constituents[number]; 7616 7617 //==== GLAST addition for vs.net ========== 7618 buffer = "macro "; 7619 buffer += constituent.name; 7620 buffer += "_GUID \"{88BF15AB-5A2D-4bea-B64F-02752C2A1F4F}\" "; 7621 apply (); 7616 7622 7617 7623 if (Cmt::get_debug ()) … … 7765 7771 } 7766 7772 7773 /** 7774 * Only for linkopts we take care of the order. This means 7775 * that ${CONSTITUENT}_use_linkopts should be used in place of use_linkopts. 7776 * 7777 * (see the application fragments) 7778 * that ${CONSTITUENT}_use_linkopts will be used in place of use_linkopts. 7779 */ 7780 buffer = "macro_append "; 7781 buffer += constituent.name; 7782 buffer += "_use_linkopts "; 7783 buffer += " \" "; 7784 7785 current_use->fill_macro (buffer, "linkopts"); 7786 7787 for (i = 0; i < Uses.size (); i++) 7788 { 7789 if (auto_imports_states[i]) 7790 { 7791 Use* u = Uses[i]; 7792 7793 if (u->discarded) continue; 7794 if (u->m_hidden) continue; 7795 7796 Package* p = u->get_package (); 7797 if (p->is_cmt ()) continue; 7798 7799 u->fill_macro (buffer, "linkopts"); 7800 } 7801 } 7802 buffer += "\""; 7803 apply (); 7804 7767 7805 if (imports.size () == 0) continue; 7768 7806 … … 7890 7928 apply (); 7891 7929 */ 7892 7893 /**7894 * Only for linkopts we take care of the order. This means7895 * that ${CONSTITUENT}_use_linkopts should be used in place of use_linkopts.7896 *7897 * (see the application fragments)7898 * that ${CONSTITUENT}_use_linkopts will be used in place of use_linkopts.7899 */7900 buffer = "macro_append ";7901 buffer += constituent.name;7902 buffer += "_use_linkopts ";7903 buffer += " \" ";7904 7905 current_use->fill_macro (buffer, "linkopts");7906 7907 for (i = 0; i < Uses.size (); i++)7908 {7909 if (auto_imports_states[i])7910 {7911 Use* u = Uses[i];7912 7913 if (u->discarded) continue;7914 if (u->m_hidden) continue;7915 7916 Package* p = u->get_package ();7917 if (p->is_cmt ()) continue;7918 7919 u->fill_macro (buffer, "linkopts");7920 }7921 }7922 buffer += "\"";7923 apply ();7924 7925 //==== GLAST addition for vs.net ==========7926 buffer = "macro ";7927 buffer += constituent.name;7928 buffer += "_GUID \"{88BF15AB-5A2D-4bea-B64F-02752C2A1F4F}\" ";7929 apply ();7930 7930 } 7931 7931 }
Note: See TracChangeset
for help on using the changeset viewer.