Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50043 - sandbox/compile-in-place
From: doomster_at_[hidden]
Date: 2008-11-30 18:46:39


Author: eckhardt
Date: 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
New Revision: 50043
URL: http://svn.boost.org/trac/boost/changeset/50043

Log:
- Set macros to signal that the libraries are to be compiled in-place.

Text files modified:
   sandbox/compile-in-place/test-filesystem.cpp | 2 ++
   sandbox/compile-in-place/test-iostreams.cpp | 1 +
   sandbox/compile-in-place/test-program-options.cpp | 1 +
   sandbox/compile-in-place/test-python-embed.cpp | 2 ++
   sandbox/compile-in-place/test-python-extend.cpp | 1 +
   sandbox/compile-in-place/test-regex.cpp | 2 ++
   sandbox/compile-in-place/test-serialization.cpp | 1 +
   sandbox/compile-in-place/test-signals.cpp | 1 +
   sandbox/compile-in-place/test-system.cpp | 1 +
   sandbox/compile-in-place/test-threads.cpp | 1 +
   sandbox/compile-in-place/test-wave.cpp | 8 +++++++-
   11 files changed, 20 insertions(+), 1 deletions(-)

Modified: sandbox/compile-in-place/test-filesystem.cpp
==============================================================================
--- sandbox/compile-in-place/test-filesystem.cpp (original)
+++ sandbox/compile-in-place/test-filesystem.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -10,6 +10,8 @@
 
 $Id$
 */
+
+#define BOOST_FILESYSTEM_COMPILE_IN_PLACE
 #include <boost/filesystem.hpp>
 #include <iostream>
 #include <ostream>

Modified: sandbox/compile-in-place/test-iostreams.cpp
==============================================================================
--- sandbox/compile-in-place/test-iostreams.cpp (original)
+++ sandbox/compile-in-place/test-iostreams.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -13,6 +13,7 @@
 $Id$
 */
 
+#define BOOST_IOSTREAMS_COMPILE_IN_PLACE
 #include <iostream>
 #include <boost/iostreams/filtering_stream.hpp>
 #include <boost/iostreams/filter/line.hpp>

Modified: sandbox/compile-in-place/test-program-options.cpp
==============================================================================
--- sandbox/compile-in-place/test-program-options.cpp (original)
+++ sandbox/compile-in-place/test-program-options.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -8,6 +8,7 @@
 $Id$
 */
 
+#define BOOST_PROGRAM_OPTIONS_COMPILE_IN_PLACE
 #include <iostream>
 #include <ostream>
 #include <boost/program_options.hpp>

Modified: sandbox/compile-in-place/test-python-embed.cpp
==============================================================================
--- sandbox/compile-in-place/test-python-embed.cpp (original)
+++ sandbox/compile-in-place/test-python-embed.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -17,6 +17,8 @@
 
 $Id$
 */
+
+#define BOOST_PYTHON_COMPILE_IN_PLACE
 #include <boost/python.hpp>
 #include <boost/python/compile_in_place.cpp>
 #include <iostream>

Modified: sandbox/compile-in-place/test-python-extend.cpp
==============================================================================
--- sandbox/compile-in-place/test-python-extend.cpp (original)
+++ sandbox/compile-in-place/test-python-extend.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -26,6 +26,7 @@
 $Id$
 */
 
+#define BOOST_PYTHON_COMPILE_IN_PLACE
 #include <boost/python.hpp>
 #include <boost/python/compile_in_place.cpp>
 

Modified: sandbox/compile-in-place/test-regex.cpp
==============================================================================
--- sandbox/compile-in-place/test-regex.cpp (original)
+++ sandbox/compile-in-place/test-regex.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -7,6 +7,8 @@
 
 $Id$
 */
+
+#define BOOST_REGEX_COMPILE_IN_PLACE
 #include <boost/regex.hpp>
 #include <boost/regex/compile_in_place.cpp>
 #include <iostream>

Modified: sandbox/compile-in-place/test-serialization.cpp
==============================================================================
--- sandbox/compile-in-place/test-serialization.cpp (original)
+++ sandbox/compile-in-place/test-serialization.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -8,6 +8,7 @@
 $Id$
 */
 
+#define BOOST_SERIALIZATION_COMPILE_IN_PLACE
 #include <sstream>
 #include <boost/archive/text_iarchive.hpp>
 #include <boost/archive/text_oarchive.hpp>

Modified: sandbox/compile-in-place/test-signals.cpp
==============================================================================
--- sandbox/compile-in-place/test-signals.cpp (original)
+++ sandbox/compile-in-place/test-signals.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -8,6 +8,7 @@
 $Id$
 */
 
+#define BOOST_SIGNALS_COMPILE_IN_PLACE
 #include <iostream>
 #include <ostream>
 #include <boost/signal.hpp>

Modified: sandbox/compile-in-place/test-system.cpp
==============================================================================
--- sandbox/compile-in-place/test-system.cpp (original)
+++ sandbox/compile-in-place/test-system.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -8,6 +8,7 @@
 $Id$
 */
 
+#define BOOST_SYSTEM_COMPILE_IN_PLACE
 #include <iostream>
 #include <ostream>
 #include <boost/system/system_error.hpp>

Modified: sandbox/compile-in-place/test-threads.cpp
==============================================================================
--- sandbox/compile-in-place/test-threads.cpp (original)
+++ sandbox/compile-in-place/test-threads.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -10,6 +10,7 @@
 $Id$
 */
 
+#define BOOST_THREAD_COMPILE_IN_PLACE
 #include <boost/thread.hpp>
 #include <iostream>
 #include <ostream>

Modified: sandbox/compile-in-place/test-wave.cpp
==============================================================================
--- sandbox/compile-in-place/test-wave.cpp (original)
+++ sandbox/compile-in-place/test-wave.cpp 2008-11-30 18:46:38 EST (Sun, 30 Nov 2008)
@@ -10,7 +10,13 @@
 $Id$
 */
 
-// just include the sourcecode for one of the examples
+#define BOOST_WAVE_COMPILE_IN_PLACE
+#define BOOST_FILESYSTEM_COMPILE_IN_PLACE
+#define BOOST_THREAD_COMPILE_IN_PLACE
+#define BOOST_SYSTEM_COMPILE_IN_PLACE
+/* just include the sourcecode for one of the examples
+This has the unfortunate disadvantage that it requires filesystem, thread and
+system libs, too, hence the definitions above. */
 #include <boost/../libs/wave/samples/quick_start/quick_start.cpp>
 
 #include <boost/wave/compile_in_place.cpp>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk