[wx-dev] #9552: Change default compiler directory to include
compiler version number
wxTrac
noreply at wxsite.net
Sun Jun 8 01:15:15 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9552>
#9552: Change default compiler directory to include compiler version number
------------------------------+---------------------------------------------
Reporter: hajokirchhoff | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: build | Version:
Keywords: compiler version | Blockedby:
Patch: 0 | Blocking:
------------------------------+---------------------------------------------
At the moment it is possible, but not easy to use wxWidgets binaries
compiled for Visual Studio 2005 and 2008 on the same computer at the same
time.
I'd like to have the compiler version number included in the build output
directories by default. This would make it easier for people that have two
different versions of compiler installed.
Details: Right now it is possible to use COMPILER_PREFIX to change the
Microsoft Visual Studio target directory from vc_dll/vc_lib to
vc80_dll/vc80_lib for example and use a second directory
vc90_dll/vc90_lib, so that I can have wxWidgets compiled and installed for
both compilers at the same time.
But auto-linking the libraries thanks to include/msvc/setup.h will no
longer work, as msvc/setup.h hard codes vc_lib/vc_dll.
If we'd change the default from vc_lib/vc_dll to whatever compiler version
is used, we could also change msvc/setup.h accordingly.
So ideally nmake -f makefile.vc would detect the compiler version and
set the COMPILER_PREFIX automatically and msvc/setup.h would expect the
correct compiler directory.
I can try to create a patch, but would like to have your input first.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9552>
More information about the wx-dev
mailing list