]>
Commit | Line | Data |
---|---|---|
5d1000e7 | 1 | <?xml version="1.0" ?> |
5d1000e7 VS |
2 | |
3 | <makefile> | |
4 | ||
5 | <!-- | |
6 | Generate build.cfg file on Windows, with settings used to build | |
7 | the library. | |
8 | --> | |
9 | ||
5c3f21c6 | 10 | <if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','msvs2003prj','msvs2005prj','msvs2008prj']"> |
5d1000e7 | 11 | |
16840c7f VS |
12 | <set var="BUILD_CFG_FILE" make_var="1"> |
13 | $(SETUPHDIR)$(DIRSEP)build.cfg | |
14 | </set> | |
61639efb | 15 | |
5d1000e7 | 16 | <action id="build_cfg_file"> |
e884cfe2 | 17 | <is-phony>1</is-phony> |
5d1000e7 | 18 | <dependency-of>all</dependency-of> |
16840c7f | 19 | <depends>libdir_setup</depends> |
5d1000e7 VS |
20 | <command> |
21 | @echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE) | |
22 | @echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE) | |
23 | @echo WXVER_RELEASE=$(WXVER_RELEASE) >>$(BUILD_CFG_FILE) | |
24 | @echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE) | |
25 | @echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE) | |
26 | @echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE) | |
27 | @echo UNICODE=$(UNICODE) >>$(BUILD_CFG_FILE) | |
d48f13a1 VZ |
28 | @echo TOOLKIT=$(TOOLKIT) >>$(BUILD_CFG_FILE) |
29 | @echo TOOLKIT_VERSION=$(TOOLKIT_VERSION) >>$(BUILD_CFG_FILE) | |
5d1000e7 VS |
30 | @echo WXUNIV=$(WXUNIV) >>$(BUILD_CFG_FILE) |
31 | @echo CFG=$(CFG) >>$(BUILD_CFG_FILE) | |
32 | @echo VENDOR=$(VENDOR) >>$(BUILD_CFG_FILE) | |
33 | @echo OFFICIAL_BUILD=$(OFFICIAL_BUILD) >>$(BUILD_CFG_FILE) | |
34 | @echo DEBUG_FLAG=$(DEBUG_FLAG) >>$(BUILD_CFG_FILE) | |
35 | @echo DEBUG_INFO=$(DEBUG_INFO) >>$(BUILD_CFG_FILE) | |
36 | @echo RUNTIME_LIBS=$(RUNTIME_LIBS) >>$(BUILD_CFG_FILE) | |
37 | @echo MSLU=$(MSLU) >>$(BUILD_CFG_FILE) | |
38 | @echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE) | |
6457b0bc | 39 | @echo USE_RTTI=$(USE_RTTI) >>$(BUILD_CFG_FILE) |
d1e5aa07 | 40 | @echo USE_THREADS=$(USE_THREADS) >>$(BUILD_CFG_FILE) |
6457b0bc | 41 | @echo USE_AUI=$(USE_AUI) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
42 | @echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE) |
43 | @echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE) | |
557002cf | 44 | @echo USE_MEDIA=$(USE_MEDIA) >>$(BUILD_CFG_FILE) |
5d1000e7 | 45 | @echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE) |
61639efb | 46 | @echo USE_QA=$(USE_QA) >>$(BUILD_CFG_FILE) |
6457b0bc VZ |
47 | @echo USE_PROPGRID=$(USE_PROPGRID) >>$(BUILD_CFG_FILE) |
48 | @echo USE_RIBBON=$(USE_RIBBON) >>$(BUILD_CFG_FILE) | |
49 | @echo USE_RICHTEXT=$(USE_RICHTEXT) >>$(BUILD_CFG_FILE) | |
50 | @echo USE_STC=$(USE_STC) >>$(BUILD_CFG_FILE) | |
51 | @echo USE_WEBVIEW=$(USE_WEBVIEW) >>$(BUILD_CFG_FILE) | |
52 | @echo USE_XRC=$(USE_XRC) >>$(BUILD_CFG_FILE) | |
5d1000e7 | 53 | @echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE) |
9043a590 | 54 | @echo COMPILER_VERSION=$(COMPILER_VERSION) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
55 | @echo CC=$(CC) >>$(BUILD_CFG_FILE) |
56 | @echo CXX=$(CXX) >>$(BUILD_CFG_FILE) | |
57 | @echo CFLAGS=$(CFLAGS) >>$(BUILD_CFG_FILE) | |
58 | @echo CPPFLAGS=$(CPPFLAGS) >>$(BUILD_CFG_FILE) | |
59 | @echo CXXFLAGS=$(CXXFLAGS) >>$(BUILD_CFG_FILE) | |
61639efb | 60 | @echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE) |
5d1000e7 VS |
61 | </command> |
62 | </action> | |
63 | ||
64 | </if> | |
65 | ||
66 | </makefile> |