<subproject id="mediaplayer" template="sub"/>
<subproject id="menu" template="sub"/>
<subproject id="minimal" template="sub"/>
- <subproject id="mobile" template="sub"/>
<subproject id="nativdlg" template="sub"/>
<subproject id="notebook" template="sub"/>
<subproject id="oleauto" template="sub"/>
<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>