2003-11-05 18:33:24 -05:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
|
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Generate build.cfg file on Windows, with settings used to build
|
|
|
|
the library.
|
|
|
|
-->
|
|
|
|
|
2015-10-06 20:06:38 -04:00
|
|
|
<if cond="FORMAT not in ['autoconf','msvc6prj','msvs2003prj','msvs2005prj','msvs2008prj']">
|
2003-11-05 18:33:24 -05:00
|
|
|
|
2003-11-06 18:44:26 -05:00
|
|
|
<set var="BUILD_CFG_FILE" make_var="1">
|
|
|
|
$(SETUPHDIR)$(DIRSEP)build.cfg
|
|
|
|
</set>
|
2005-03-20 19:11:06 -05:00
|
|
|
|
2003-11-05 18:33:24 -05:00
|
|
|
<action id="build_cfg_file">
|
2003-11-08 05:31:36 -05:00
|
|
|
<is-phony>1</is-phony>
|
2003-11-05 18:33:24 -05:00
|
|
|
<dependency-of>all</dependency-of>
|
2003-11-06 18:44:26 -05:00
|
|
|
<depends>libdir_setup</depends>
|
2003-11-05 18:33:24 -05:00
|
|
|
<command>
|
|
|
|
@echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE)
|
|
|
|
@echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo WXVER_RELEASE=$(WXVER_RELEASE) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo UNICODE=$(UNICODE) >>$(BUILD_CFG_FILE)
|
2012-12-28 11:03:03 -05:00
|
|
|
@echo TOOLKIT=$(TOOLKIT) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo TOOLKIT_VERSION=$(TOOLKIT_VERSION) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
@echo WXUNIV=$(WXUNIV) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo CFG=$(CFG) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo VENDOR=$(VENDOR) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo OFFICIAL_BUILD=$(OFFICIAL_BUILD) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo DEBUG_FLAG=$(DEBUG_FLAG) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo DEBUG_INFO=$(DEBUG_INFO) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo RUNTIME_LIBS=$(RUNTIME_LIBS) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE)
|
2012-09-08 20:42:55 -04:00
|
|
|
@echo USE_RTTI=$(USE_RTTI) >>$(BUILD_CFG_FILE)
|
2005-02-20 08:22:24 -05:00
|
|
|
@echo USE_THREADS=$(USE_THREADS) >>$(BUILD_CFG_FILE)
|
2012-09-08 20:42:55 -04:00
|
|
|
@echo USE_AUI=$(USE_AUI) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
@echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE)
|
2006-02-10 14:37:40 -05:00
|
|
|
@echo USE_MEDIA=$(USE_MEDIA) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
@echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE)
|
2005-03-20 19:11:06 -05:00
|
|
|
@echo USE_QA=$(USE_QA) >>$(BUILD_CFG_FILE)
|
2012-09-08 20:42:55 -04:00
|
|
|
@echo USE_PROPGRID=$(USE_PROPGRID) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_RIBBON=$(USE_RIBBON) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_RICHTEXT=$(USE_RICHTEXT) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_STC=$(USE_STC) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_WEBVIEW=$(USE_WEBVIEW) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo USE_XRC=$(USE_XRC) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
@echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE)
|
2012-07-01 17:35:23 -04:00
|
|
|
@echo COMPILER_VERSION=$(COMPILER_VERSION) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
@echo CC=$(CC) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo CXX=$(CXX) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo CFLAGS=$(CFLAGS) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo CPPFLAGS=$(CPPFLAGS) >>$(BUILD_CFG_FILE)
|
|
|
|
@echo CXXFLAGS=$(CXXFLAGS) >>$(BUILD_CFG_FILE)
|
2005-03-20 19:11:06 -05:00
|
|
|
@echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE)
|
2003-11-05 18:33:24 -05:00
|
|
|
</command>
|
|
|
|
</action>
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</makefile>
|