From 5d1000e7f161cd2a948752dbf4fb3a3ebf5349da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 5 Nov 2003 23:33:24 +0000 Subject: [PATCH] generate build.cfg file on Windows, with information about settings used to build the library git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/build_cfg.bkl | 51 ++++ build/bakefiles/formats/__fake.bkl | 7 + build/bakefiles/wx.bkl | 3 + build/msw/config.gcc | 5 + build/msw/makefile.bcc | 450 +++++++++++++++-------------- build/msw/makefile.gcc | 363 ++++++++++++----------- build/msw/makefile.vc | 235 ++++++++------- build/msw/makefile.wat | 31 +- 8 files changed, 663 insertions(+), 482 deletions(-) create mode 100644 build/bakefiles/build_cfg.bkl diff --git a/build/bakefiles/build_cfg.bkl b/build/bakefiles/build_cfg.bkl new file mode 100644 index 0000000000..479c8a3c91 --- /dev/null +++ b/build/bakefiles/build_cfg.bkl @@ -0,0 +1,51 @@ + + + + + + + + + + $(LIBDIRNAME)$(DIRSEP)build.cfg + + + all + libdir + + @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) + @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 MSLU=$(MSLU) >>$(BUILD_CFG_FILE) + @echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE) + @echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE) + @echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE) + @echo USE_ODBC=$(USE_ODBC) >>$(BUILD_CFG_FILE) + @echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE) + @echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE) + @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) + @echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE) + + + + + + diff --git a/build/bakefiles/formats/__fake.bkl b/build/bakefiles/formats/__fake.bkl index 21ab4a6d93..5b6199da43 100644 --- a/build/bakefiles/formats/__fake.bkl +++ b/build/bakefiles/formats/__fake.bkl @@ -11,6 +11,13 @@ makefiles, e.g. wx24dsp or rpmspec ones. + cc + c++ + + + + +