Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50989 - in sandbox/SCons: . libs libs/date_time/build libs/filesystem/build libs/iostreams/build libs/program_options/build libs/regex/build libs/serialization/build libs/signals/build libs/system/build libs/test/build libs/wave/build
From: loonycyborg_at_[hidden]
Date: 2009-02-03 08:00:50


Author: loonycyborg
Date: 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
New Revision: 50989
URL: http://svn.boost.org/trac/boost/changeset/50989

Log:
Initial commit of the scons script.

For now builds only static libs, no support for
build variants and optional dependencies yet.

Added:
   sandbox/SCons/SConstruct (contents, props changed)
   sandbox/SCons/libs/SConscript (contents, props changed)
   sandbox/SCons/libs/date_time/build/SConscript (contents, props changed)
   sandbox/SCons/libs/filesystem/build/SConscript (contents, props changed)
   sandbox/SCons/libs/iostreams/build/SConscript (contents, props changed)
   sandbox/SCons/libs/program_options/build/SConscript (contents, props changed)
   sandbox/SCons/libs/regex/build/SConscript (contents, props changed)
   sandbox/SCons/libs/serialization/build/SConscript (contents, props changed)
   sandbox/SCons/libs/signals/build/SConscript (contents, props changed)
   sandbox/SCons/libs/system/build/SConscript (contents, props changed)
   sandbox/SCons/libs/test/build/SConscript (contents, props changed)
   sandbox/SCons/libs/wave/build/SConscript (contents, props changed)

Added: sandbox/SCons/SConstruct
==============================================================================
--- (empty file)
+++ sandbox/SCons/SConstruct 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,6 @@
+EnsureSConsVersion(0, 98, 5)
+
+env = Environment()
+Export("env")
+
+SConscript("libs/SConscript")

Added: sandbox/SCons/libs/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,12 @@
+Import("env")
+env.Append(
+ CPPPATH = "#/",
+ CXXFLAGS = "-ftemplate-depth-128"
+ )
+
+sconscripts = Glob("*/build/SConscript")
+for sconscript in sconscripts:
+ lib = str(sconscript.get_dir().up())
+ VariantDir(src_dir = lib + "/src", variant_dir = "#/bin.SCons/" + lib, duplicate = False)
+ VariantDir(src_dir = lib + "/build", variant_dir = lib + "/src", duplicate = False)
+ SConscript("#/bin.SCons/" + lib + "/SConscript")

Added: sandbox/SCons/libs/date_time/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/date_time/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,9 @@
+Import("env")
+env.Library(
+ "boost_date_time",
+ map(Dir("gregorian").File, Split("""
+ greg_month.cpp
+ greg_weekday.cpp
+ date_generators.cpp
+ """))
+ )

Added: sandbox/SCons/libs/filesystem/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/filesystem/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,10 @@
+Import("env")
+env.Library(
+ "boost_filesystem",
+ Split("""
+ operations.cpp
+ path.cpp
+ portability.cpp
+ utf8_codecvt_facet.cpp
+ """)
+ )

Added: sandbox/SCons/libs/iostreams/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/iostreams/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,9 @@
+Import("env")
+
+env.Library(
+ "boost_iostreams",
+ Split("""
+ file_descriptor.cpp
+ mapped_file.cpp
+ """)
+ )

Added: sandbox/SCons/libs/program_options/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/program_options/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,16 @@
+Import("env")
+env.Library(
+ "boost_program_options",
+ Split("""
+ cmdline.cpp
+ config_file.cpp
+ options_description.cpp
+ parsers.cpp
+ variables_map.cpp
+ value_semantic.cpp
+ positional_options.cpp
+ utf8_codecvt_facet.cpp
+ convert.cpp
+ winmain.cpp
+ """)
+ )

Added: sandbox/SCons/libs/regex/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/regex/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,21 @@
+Import("env")
+env.Library("boost_regex",
+ Split("""
+ c_regex_traits.cpp
+ cpp_regex_traits.cpp
+ cregex.cpp
+ fileiter.cpp
+ icu.cpp
+ instances.cpp
+ posix_api.cpp
+ regex.cpp
+ regex_debug.cpp
+ regex_raw_buffer.cpp
+ regex_traits_defaults.cpp
+ static_mutex.cpp
+ w32_regex_traits.cpp
+ wc_regex_traits.cpp
+ wide_posix_api.cpp
+ winstances.cpp
+ usinstances.cpp
+ """))

Added: sandbox/SCons/libs/serialization/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/serialization/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,31 @@
+Import("env")
+env.Library(
+ "boost_serialization",
+ Split("""
+ basic_archive.cpp
+ basic_iarchive.cpp
+ basic_iserializer.cpp
+ basic_oarchive.cpp
+ basic_oserializer.cpp
+ basic_pointer_iserializer.cpp
+ basic_pointer_oserializer.cpp
+ basic_serializer_map.cpp
+ basic_text_iprimitive.cpp
+ basic_text_oprimitive.cpp
+ basic_xml_archive.cpp
+ binary_iarchive.cpp
+ binary_oarchive.cpp
+ extended_type_info.cpp
+ extended_type_info_typeid.cpp
+ extended_type_info_no_rtti.cpp
+ polymorphic_iarchive.cpp
+ polymorphic_oarchive.cpp
+ stl_port.cpp
+ text_iarchive.cpp
+ text_oarchive.cpp
+ void_cast.cpp
+ xml_grammar.cpp
+ xml_iarchive.cpp
+ xml_oarchive.cpp
+ """)
+ )

Added: sandbox/SCons/libs/signals/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/signals/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,12 @@
+Import("env")
+env.Library(
+ "boost_signals",
+ Split("""
+ trackable.cpp
+ connection.cpp
+ named_slot_map.cpp
+ signal_base.cpp
+ slot.cpp
+ """)
+ )
+

Added: sandbox/SCons/libs/system/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/system/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,2 @@
+Import("env")
+env.Library("boost_system", "error_code.cpp")

Added: sandbox/SCons/libs/test/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/test/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,55 @@
+Import("env")
+env.Library(
+ "boost_prg_exec_monitor",
+ Split("""
+ execution_monitor.cpp
+ debug.cpp
+ cpp_main.cpp
+ """)
+ )
+env.Library(
+ "boost_test_exec_monitor",
+ Split("""
+ compiler_log_formatter.cpp
+ debug.cpp
+ execution_monitor.cpp
+ framework.cpp
+ plain_report_formatter.cpp
+ progress_monitor.cpp
+ results_collector.cpp
+ results_reporter.cpp
+ test_main.cpp
+ test_tools.cpp
+ unit_test_log.cpp
+ unit_test_main.cpp
+ unit_test_monitor.cpp
+ unit_test_parameters.cpp
+ unit_test_suite.cpp
+ xml_log_formatter.cpp
+ xml_report_formatter.cpp
+ """)
+ )
+env.Library(
+ "boost_unit_test_framework",
+ Split("""
+ compiler_log_formatter.cpp
+ debug.cpp
+ exception_safety.cpp
+ execution_monitor.cpp
+ framework.cpp
+ interaction_based.cpp
+ logged_expectations.cpp
+ plain_report_formatter.cpp
+ progress_monitor.cpp
+ results_collector.cpp
+ results_reporter.cpp
+ test_tools.cpp
+ unit_test_log.cpp
+ unit_test_main.cpp
+ unit_test_monitor.cpp
+ unit_test_parameters.cpp
+ unit_test_suite.cpp
+ xml_log_formatter.cpp
+ xml_report_formatter.cpp
+ """)
+ )

Added: sandbox/SCons/libs/wave/build/SConscript
==============================================================================
--- (empty file)
+++ sandbox/SCons/libs/wave/build/SConscript 2009-02-03 08:00:48 EST (Tue, 03 Feb 2009)
@@ -0,0 +1,17 @@
+Import("env")
+env.Library(
+ "boost_wave",
+ Split("""
+ instantiate_cpp_exprgrammar.cpp
+ instantiate_cpp_grammar.cpp
+ instantiate_cpp_literalgrs.cpp
+ instantiate_defined_grammar.cpp
+ instantiate_predef_macros.cpp
+ instantiate_re2c_lexer.cpp
+ instantiate_re2c_lexer_str.cpp
+ token_ids.cpp
+ wave_config_constant.cpp
+ cpplexer/re2clex/aq.cpp
+ cpplexer/re2clex/cpp_re.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