]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/tex2rtf.bkl
pywrap should be treated as a gui script
[wxWidgets.git] / utils / tex2rtf / src / tex2rtf.bkl
index dcd88b28ff82001bde6456c9cdcf8dea2f7737d9..a7cd0e370371fdd488ddf2ff761f2db3b627b477 100644 (file)
     </set>
 
     <exe id="tex2rtf" template="wx_util_console"
     </set>
 
     <exe id="tex2rtf" template="wx_util_console"
-                      template_append="wx_append_base">
+                      template_append="wx_append_base"
+                      cond="FORMAT!='msevc4prj'">
         <define>NO_GUI</define>
         <sources>$(TEX2RTF_SRC)</sources>
         <wx-lib>base</wx-lib>
         <install-to>$(BINDIR)</install-to>
     </exe>
         <define>NO_GUI</define>
         <sources>$(TEX2RTF_SRC)</sources>
         <wx-lib>base</wx-lib>
         <install-to>$(BINDIR)</install-to>
     </exe>
-    
-    <exe id="tex2rtf_gui" template="wx_util" template_append="wx_append">
+
+    <exe id="tex2rtf_gui" template="wx_util"
+                          template_append="wx_append"
+                          cond="USE_GUI=='1'">
         <sources>$(TEX2RTF_SRC)</sources>
         <wx-lib>html</wx-lib>
         <wx-lib>core</wx-lib>
         <sources>$(TEX2RTF_SRC)</sources>
         <wx-lib>html</wx-lib>
         <wx-lib>core</wx-lib>