Bo Peng wrote:
Dear all,
Major reorganization of scons has been done for scons. Basically, I
pack everything into SConstruct which results in cleaner and shorter
code (previously, we rely on env to pass messages so there are both
dest_dir and env['DEST_DIR'] etc).
The only user visible change is that I replace dest_dir with DESTDIR,
which can be set as environment variable as well. Underlying, three
config.h are generated for lyx/intl and boost. This one is still in
progress.
Please test it.
Hello Bo,
The version you committed seems to work fine for msvc2005. I gave you
already what I think should go into boost/libs/config.h but let me
repeat that:
#define BOOST_ALL_NO_LIB 1
/* #undef BOOST_POSIX */
#if !defined(ENABLE_ASSERTIONS)
# define BOOST_DISABLE_ASSERTS 1
#endif
#define BOOST_ENABLE_ASSERT_HANDLER 1
#define BOOST_DISABLE_THREADS 1
#define BOOST_NO_WREGEX 1
#define BOOST_NO_WSTRING 1
#ifdef __CYGWIN__
# define BOOST_POSIX 1
#endif
#if defined(HAVE_NEWAPIS_H)
# define WANT_GETFILEATTRIBUTESEX_WRAPPER 1
#endif
#endif
Then I think you should pass those two macro depending on the scons
configuration:
DBOOST_USER_CONFIG="libs/config.h" : tells boost files where is the
boost config file.
DENABLE_ASSERTIONS : is self explaining.
HAVE_NEWAPIS_H : this is Win95 support AFAIR, maybe this can go
altogether including the config.h content.
Abdel.