]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/samples.bkl
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git] / samples / samples.bkl
index 4bc61d34dd67271bb4cec1d12b5ac54df574feed..04e5ab774103c958a6144c3b6747b29744983c2c 100644 (file)
     <subproject id="widgets" template="sub"/>
     <subproject id="wizard" template="sub"/>
     <subproject id="wrapsizer" template="sub"/>
-    <!-- These samples don't always build so don't build them by default -->
-    <subproject id="flash" template="optsub"/>
-    <subproject id="mfc" template="optsub"/>
+
+    <!--
+        These samples don't always build (they need non-default wxWidgets
+        configuration or some 3rd party library being installed) so don't build
+        them by default by using "optsub" template instead of "sub" one and
+        some of them also require MSVC compiler so don't use them with the
+        other ones.
+     -->
+    <if cond="FORMAT[:3] == 'msv'">
+        <subproject id="flash" template="optsub"/>
+        <subproject id="mfc" template="optsub"/>
+    </if>
     <subproject id="memcheck" template="optsub"/>
 
 </makefile>