]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/scintilla.bkl
adding cocoa utils bridge
[wxWidgets.git] / build / bakefiles / scintilla.bkl
index 374a993b138d49ce5e88c21d9623b14bda73d218..4c36b10ccbb9a2ae38cd5818bd700e8e8797d27e 100644 (file)
@@ -15,7 +15,8 @@
         $(TOP_SRCDIR)src/stc/scintilla/include
     </set>
 
-    <lib id="wxscintilla" template="3rdparty_lib">
+    <lib id="wxscintilla" template="3rdparty_lib"
+         cond="USE_STC=='1' and BUILDING_LIB=='1'">
         <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>
         <include>$(TOP_SRCDIR)src/stc/scintilla/src</include>
         <define>__WX__</define>
            src/stc/scintilla/src/XPM.cxx
         </sources>
     </lib>
+    
+    <!-- use this to conditonally link against wxscintilla with <library>: -->
+    <set var="wxscintilla_library_link">
+        <if cond="USE_STC=='1' and BUILDING_LIB=='1'">wxscintilla</if>
+    </set>
 
 </makefile>