Bo Peng wrote:
Abdel,
Attached patch adds
$BUILDDIR/config/config.h
$BUILDDIR/config/boost_config.h
with the following behaviors:
1. boost only uses boost_config.h
2. config.h includes boost_config.h
3. different builds have different config.h (nls etc may change from
build to build).
Tested under linux. Please let me know if you like it, and if you like
further work on this config.h business.
That looks all very nice Bo :-). I was very frustrated to have to
recompile everything when I switched compilers. I'll try to test it
sometime today.
Please find attached a patch for restore the old behaviour for gcc/debug
(by default we don't have debug libraries with mingw).
I have a problem with MSVC/debug. The binary complains about missing
MSVCP80D.dll. I think you have to link with QtCored4.dll.manifest and
QtGuid4.dll.manifest but I don't know how to solve that.
Thanks,
Abdel.
Index: SConstruct
===================================================================
--- SConstruct (revision 14142)
+++ SConstruct (working copy)
@@ -762,7 +762,7 @@
#----------------------------------------------------------
aspell_lib = 'aspell'
# assume that we use aspell, aspelld compiled for msvc
-if platform_name == 'win32' and mode == 'debug':
+if platform_name == 'win32' and mode == 'debug' and use_vc:
aspell_lib = 'aspelld'
if not fast_start:
@@ -1040,7 +1040,7 @@
qt_libs = ['QtCore', 'QtGui']
# set the right lib names
if platform_name == 'win32':
- if mode == 'debug':
+ if mode == 'debug' and use_vc:
qt_lib_suffix = 'd4'
else:
qt_lib_suffix = '4'