From dad909f709335a05daea6a04d895bb492c4eb670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 15 May 2007 12:48:26 +0000 Subject: [PATCH] make it posible to change the compiler part of objects directory by setting COMPILER_PREFIX make variable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/common.bkl | 9 +++++++-- docs/msw/install.txt | 12 ++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl index a664210fb0..60082421d6 100644 --- a/build/bakefiles/common.bkl +++ b/build/bakefiles/common.bkl @@ -183,8 +183,13 @@ $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) + + + $(COMPILER) + - $(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) + $(COMPILER_PREFIX)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU) $(OBJS) @@ -200,7 +205,7 @@ $(wx_top_builddir)/lib - $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) + $(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) diff --git a/docs/msw/install.txt b/docs/msw/install.txt index e9a68c21b7..6a2efc738a 100644 --- a/docs/msw/install.txt +++ b/docs/msw/install.txt @@ -778,6 +778,10 @@ DEBUG_INFO=1 Same as DEBUG_FLAG in behaviour, this option affects whether debugging information is included in the executable or not. +TARGET_CPU=AMD64|IA64 + (VC++ only.) Set this variable to build for x86_64 systems. If unset, x86 + build is performed. + VENDOR= Set this to a short string identifying your company if you are planning to distribute wxWidgets DLLs with your application. Default value is 'custom'. @@ -792,6 +796,14 @@ CFG= different setup.h settings coexisting in same tree. See "Object and library directories" below for more information. +COMPILER_PREFIX= + If you build with multiple versions of the same compiler, you can put + their outputs into directories like "vc6_lib", "vc8_lib" etc. instead of + "vc_lib" by setting this variable to e.g. "vc6". This is merely a + convenience variable, you can achieve the same effect (but different dir + names) with the CFG option. + + Compiler specific options ----------------------------------------------------------------