Fix bakefiles. Precomp variable is used undefined when building samples (it was only defined inside the test bakefiles).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2008-09-20 23:46:34 +00:00
parent cfea8e619a
commit 9b294926cb

View File

@ -9,6 +9,8 @@
<!-- Template for wxWidgets samples: --> <!-- Template for wxWidgets samples: -->
<!-- =============================================================== --> <!-- =============================================================== -->
<set var="WX_ENABLE_PRECOMP_HEADERS">0</set>
<set var="DLLFLAG"> <set var="DLLFLAG">
<if cond="SHARED=='1'">WXUSINGDLL</if> <if cond="SHARED=='1'">WXUSINGDLL</if>
</set> </set>
@ -36,7 +38,7 @@
<!-- FIXME: temporary, until bakefile can reuse existing pch files --> <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
<if cond="FORMAT!='autoconf'"> <if cond="FORMAT!='autoconf'">
<if cond="WX_ENABLE_PRECOMP_HEADERS!='1'"> <if cond="WX_ENABLE_PRECOMP_HEADERS=='0'">
<define>NOPCH</define> <define>NOPCH</define>
</if> </if>
</if> </if>