</template>
<template id="wx_lib" template="wx_lib_b,wx_3rdparty_dependencies"/>
- <template id="wx_base_lib" template="wx_lib_b,wx_3rdparty_dependencies"/>
+ <template id="wx_base_lib" template="wx_lib_b,wx_3rdparty_dependencies">
+ <define>wxUSE_GUI=0</define>
+ </template>
+
<template id="wx_dll" template="wx_dll_b,wx_3rdparty_dependencies"
template_append="wx_append_nomono"/>
<template id="wx_base_dll" template="wx_dll_b,wx_3rdparty_dependencies"
- template_append="wx_append_base_nomono"/>
+ template_append="wx_append_base_nomono">
+ <define>wxUSE_GUI=0</define>
+ </template>
<!-- =============================================================== -->
<!-- Templates for building wxWindows plugins: -->
<!-- =============================================================== -->
- <set var="">
- </set>
-
<if cond="WX_STABLE_BRANCH=='1'">
<set var="PLUGIN_VERSION">
<if cond="PLATFORM_UNIX=='1'">
$(id)$(addPrefixIfNotEmpty('_',WXNAMESUFFIX))$(PLUGIN_VERSION)
</dllname>
<define>WXUSINGDLL</define>
+ <define>wxUSE_GUI=0</define>
</template>
</define-rule>
cond="SHARED=='1' and MONOLITHIC=='0'">
<define>WXMAKINGDLL_BASE</define>
<define>wxUSE_BASE=1</define>
- <define>wxUSE_GUI=0</define>
<sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
<msvc-copy-setup-h/>
<lib id="baselib" template="wx_base_lib"
cond="SHARED=='0' and MONOLITHIC=='0'">
<define>wxUSE_BASE=1</define>
- <define>wxUSE_GUI=0</define>
<sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
<msvc-copy-setup-h/>