
Tomas Puverle wrote:
Tobias,
# define PLATFORM_HEADER_DIRECTORY() <mylib/win32/ // [...] #define PLATFORM_HEADER(header) PLATFORM_HEADER_DIRECTORY()header>
How about:
#ifdef ... #define PLATFORM_DIRECTORY win32 #elif .... #endif
#define BOOST_INCLUDE(includeFile) <includeFile>
#include BOOST_INCLUDE(PLATFORM_DIRECTORY/myFile.h)
How about: #ifdef __WIN32__ #include <win32/myfile.hpp> #elif ... ... #endif So that dependency analysis works with Boost.Build without yet more special case kludges ;-) And so that people with smart text editors can select the include file and open it directly. And so that other people reading the code have a chance at understanding it. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo