$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: dgregor_at_[hidden]
Date: 2007-05-21 10:16:41
Author: dgregor
Date: 2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
New Revision: 4156
URL: http://svn.boost.org/trac/boost/changeset/4156
Log:
CMake testing and build support for several Boost libraries
Added:
   sandbox/troy/boost_1_34_0/libs/multi_array/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/multi_array/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/multi_index/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/multi_index/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/numeric/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/numeric/interval/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/numeric/ublas/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/optional/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/optional/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/parameter/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/parameter/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/pool/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/pool/test/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/program_options/CMakeLists.txt
   sandbox/troy/boost_1_34_0/libs/program_options/src/CMakeLists.txt
Text files modified: 
   sandbox/troy/boost_1_34_0/TODO |     6 ++++++                                  
   1 files changed, 6 insertions(+), 0 deletions(-)
Modified: sandbox/troy/boost_1_34_0/TODO
==============================================================================
--- sandbox/troy/boost_1_34_0/TODO	(original)
+++ sandbox/troy/boost_1_34_0/TODO	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -16,4 +16,10 @@
 
 - Docs
 
+- Test ICU support in Regex
 
+- Try to figure out what is happening with "empty" .o files in Mac build
+
+- In libs/numeric/interval/test, how to detect OSF and HP's C++ compiler?
+
+- In libs/parameter/test, fix the test that depends on Python
Added: sandbox/troy/boost_1_34_0/libs/multi_array/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/multi_array/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  MultiArray
+  TESTDIRS test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/multi_array/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/multi_array/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,38 @@
+boost_test_compile_fail(fail_cbracket)
+boost_test_compile_fail(fail_cdata)
+boost_test_compile_fail(fail_citerator)
+boost_test_compile_fail(fail_cparen)
+boost_test_compile_fail(fail_criterator)
+boost_test_compile_fail(fail_csubarray)
+boost_test_compile_fail(fail_csubarray2)
+boost_test_compile_fail(fail_csubarray3)
+boost_test_compile_fail(fail_cview)
+boost_test_compile_fail(fail_cview2)
+boost_test_compile_fail(fail_cview3)
+boost_test_compile_fail(fail_ref_cbracket)
+boost_test_compile_fail(fail_ref_cdata)
+boost_test_compile_fail(fail_ref_citerator)
+boost_test_compile_fail(fail_ref_cparen)
+boost_test_compile_fail(fail_ref_criterator)
+boost_test_compile_fail(fail_ref_csubarray)
+boost_test_compile_fail(fail_ref_csubarray2)
+boost_test_compile_fail(fail_ref_csubarray3)
+boost_test_compile_fail(fail_ref_cview)
+boost_test_compile_fail(fail_ref_cview2)
+boost_test_compile_fail(fail_ref_cview3)
+
+boost_test_run(constructors LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(access LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(compare LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(iterators LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(slice LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(assign LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(assign_to_array LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(index_bases LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(storage_order LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(reshape LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(range1 LIBRARIES boost_test_exec_monitor-static )
+boost_test_run(idxgen1 LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(stl_interaction LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(resize LIBRARIES boost_test_exec_monitor-static)
+boost_test_compile(concept_checks)
Added: sandbox/troy/boost_1_34_0/libs/multi_index/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/multi_index/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  MultiIndex
+  TESTDIRS test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/multi_index/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/multi_index/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,24 @@
+boost_test_run(test_basic SOURCES test_basic.cpp            test_basic_main.cpp)
+boost_test_run(test_capacity SOURCES test_capacity.cpp         test_capacity_main.cpp)
+boost_test_run(test_comparison SOURCES test_comparison.cpp       test_comparison_main.cpp)
+boost_test_run(test_composite_key SOURCES test_composite_key.cpp    test_composite_key_main.cpp)
+boost_test_run(test_conv_iterators SOURCES test_conv_iterators.cpp   test_conv_iterators_main.cpp)
+boost_test_run(test_copy_assignment SOURCES test_copy_assignment.cpp  test_copy_assignment_main.cpp)
+boost_test_run(test_hash_ops SOURCES test_hash_ops.cpp         test_hash_ops_main.cpp)
+boost_test_run(test_iterators SOURCES test_iterators.cpp        test_iterators_main.cpp)
+boost_test_run(test_key_extractors SOURCES test_key_extractors.cpp   test_key_extractors_main.cpp)
+boost_test_run(test_list_ops  SOURCES test_list_ops.cpp         test_list_ops_main.cpp)
+boost_test_run(test_modifiers SOURCES test_modifiers.cpp        test_modifiers_main.cpp)
+boost_test_run(test_mpl_ops SOURCES test_mpl_ops.cpp          test_mpl_ops_main.cpp)
+boost_test_run(test_observers SOURCES test_observers.cpp        test_observers_main.cpp)    
+boost_test_run(test_projection SOURCES test_projection.cpp       test_projection_main.cpp)
+boost_test_run(test_range SOURCES test_range.cpp            test_range_main.cpp)
+boost_test_run(test_rearrange SOURCES test_rearrange.cpp        test_rearrange_main.cpp)
+boost_test_run(test_safe_mode SOURCES test_safe_mode.cpp        test_safe_mode_main.cpp)
+boost_test_run(test_serialization
+  SOURCES test_serialization.cpp    test_serialization1.cpp
+  test_serialization2.cpp   test_serialization_main.cpp
+  LIBRARIES boost_serialization-static)
+boost_test_run(test_set_ops SOURCES test_set_ops.cpp          test_set_ops_main.cpp)
+boost_test_run(test_special_set_ops SOURCES test_special_set_ops.cpp  test_special_set_ops_main.cpp)
+boost_test_run(test_update SOURCES test_update.cpp           test_update_main.cpp)
Added: sandbox/troy/boost_1_34_0/libs/numeric/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/numeric/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  Numeric
+  TESTDIRS conversion/test interval/test ublas/test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/numeric/conversion/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,6 @@
+boost_test_run(bounds_test)
+boost_test_run(traits_test)
+boost_test_run(converter_test)
+boost_test_run(udt_support_test)
+boost_test_run(numeric_cast_test)
+boost_test_run(udt_example_0)
Added: sandbox/troy/boost_1_34_0/libs/numeric/interval/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/numeric/interval/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,21 @@
+#TODO: Deal with these on OSF
+#    <toolset>hp_cxx,<os>OSF:<cflags>"-fprm d"
+ #   <toolset>gcc,<os>OSF:<cflags>-mfp-rounding-mode=d
+
+boost_test_compile(integer)
+
+boost_test_run(add)
+boost_test_run(det)
+boost_test_run(fmod)
+boost_test_run(mul)
+boost_test_run(overflow)
+boost_test_run(pi)
+boost_test_run(pow)
+
+boost_test_run(cmp LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(cmp_exn LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(cmp_exp LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(cmp_lex LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(cmp_set LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(cmp_tribool LIBRARIES boost_test_exec_monitor-static)
+boost_test_run(test_float LIBRARIES boost_test_exec_monitor-static)
Added: sandbox/troy/boost_1_34_0/libs/numeric/ublas/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/numeric/ublas/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,57 @@
+# Define features to test:
+#  Value types: USE_FLOAT USE_DOUBLE USE_STD_COMPLEX
+#  Proxies: USE_RANGE USE_SLICE
+#  Storage types: USE_BOUNDED_ARRAY USE_UNBOUNDED_ARRAY
+#  Vector types: USE_STD_VECTOR USE_BOUNDED_VECTOR
+#  Matrix types: USE_MATRIX USE_BOUNDED_MATRIX USE_VECTOR_OF_VECTOR
+#  Adaptors: USE_ADAPTOR
+
+set(UBLAS_TESTSET_DEFINES
+  "-DUSE_DOUBLE -DUSE_STD_COMPLEX -DUSE_RANGE -DUSE_SLICE -DUSE_UNBOUNDED_ARRAY -DUSE_STD_VECTOR -DUSE_BOUNDED_VECTOR -DUSE_MATRIX")
+
+#  Sparse storage: USE_MAP_ARRAY USE_STD_MAP
+#  Sparse vectors: USE_MAPPED_VECTOR USE_COMPRESSED_VECTOR USE_COORDINATE_VECTOR
+#  Sparse matrices: USE_MAPPED_MATRIX USE_COMPRESSED_MATRIX USE_COORDINATE_MATRIX USE_MAPPED_VECTOR_OF_MAPPED_VECTOR USE_GENERALIZED_VECTOR_OF_VECTOR
+
+set(UBLAS_TESTSET_SPARSE_DEFINES
+  "-DUSE_DOUBLE -DUSE_STD_COMPLEX -DUSE_UNBOUNDED_ARRAY -DUSE_MAP_ARRAY -DUSE_STD_MAP -DUSE_MAPPED_VECTOR -DUSE_COMPRESSED_VECTOR -DUSE_COORDINATE_VECTOR -DUSE_MAPPED_MATRIX -DUSE_COMPRESSED_MATRIX -DUSE_COORDINATE_MATRIX")
+
+# Definitions for uBLAS tests
+add_definitions(-DBOOST_UBLAS_NO_EXCEPTIONS)
+# TODO: <toolset>vacpp:<define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
+
+boost_test_run(test1
+  SOURCES test1.cpp test11.cpp test12.cpp test13.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(test2
+  SOURCES test2.cpp test21.cpp test22.cpp test23.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(test3
+  SOURCES test3.cpp test31.cpp test32.cpp test33.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_SPARSE_DEFINES}")
+
+boost_test_run(test4
+  SOURCES test4.cpp test42.cpp test43.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(test5
+  SOURCES test5.cpp test52.cpp test53.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(test6
+  SOURCES test6.cpp test62.cpp test63.cpp
+  COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+# Test commented out, just like in V1 and V2 Jamfiles
+# boost_test_run(test7
+#   SOURCES test7.cpp test71.cpp test72.cpp test73.cpp
+#   COMPILE_FLAGS "-DBOOST_UBLAS_USE_INTERVAL ${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(placement_new)
+
+#TODO:
+#            <toolset>intel-linux:<cxxflags>"-Xc"
+#			<toolset>darwin:<cxxflags>"-fabi-version=0"
+boost_test_compile(concepts COMPILE_FLAGS "-DEXTERNAL")
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/optional/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/optional/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  Optional
+  TESTDIRS test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/optional/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/optional/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,13 @@
+boost_test_run(optional_test)
+boost_test_run(optional_test_tie)
+boost_test_run(optional_test_ref)
+boost_test_run(optional_test_inplace)
+boost_test_run(optional_test_io)
+boost_test_compile_fail(optional_test_fail1)
+boost_test_compile_fail(optional_test_fail3a)
+boost_test_compile_fail(optional_test_fail3b)
+boost_test_compile_fail(optional_test_ref_fail1)
+boost_test_compile_fail(optional_test_ref_fail3)
+boost_test_compile_fail(optional_test_ref_fail4)
+boost_test_compile_fail(optional_test_inplace_fail)
+boost_test_compile_fail(optional_test_inplace_fail2)
Added: sandbox/troy/boost_1_34_0/libs/parameter/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/parameter/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  Parameter
+  TESTDIRS test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/parameter/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/parameter/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,22 @@
+boost_test_run(basics)
+boost_test_run(sfinae)
+boost_test_run(macros)
+boost_test_run(earwicker)
+boost_test_run(tutorial)
+boost_test_run(singular)
+boost_test_run(mpl)
+boost_test_run(preprocessor)
+boost_test_run(preprocessor_deduced)
+boost_test_run(efficiency COMPILE_FLAGS "${RELEASE_COMPILE_FLAGS}")
+boost_test_run(maybe)
+boost_test_run(deduced)
+boost_test_run(optional_deduced_sfinae)
+boost_test_run(deduced_dependent_predicate)
+boost_test_run(normalized_argument_types)
+boost_test_compile(ntp)
+boost_test_compile(unwrap_cv_reference)
+boost_test_compile_fail(duplicates)
+boost_test_compile_fail(deduced_unmatched_arg)
+boost_test_compile(compose)
+
+# TODO: [ bpl-test python_test ]
Added: sandbox/troy/boost_1_34_0/libs/pool/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/pool/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  Pool
+  TESTDIRS test
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/pool/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/pool/test/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1 @@
+boost_test_run(test_pool_alloc LIBRARIES boost_test_exec_monitor-static)
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/program_options/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/program_options/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,4 @@
+boost_library_project(
+  Program_Options
+  SRCDIRS src
+  )
\ No newline at end of file
Added: sandbox/troy/boost_1_34_0/libs/program_options/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/program_options/src/CMakeLists.txt	2007-05-21 10:16:39 EDT (Mon, 21 May 2007)
@@ -0,0 +1,5 @@
+boost_library(boost_program_options
+  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
+  SHARED_COMPILE_FLAGS "-DBOOST_PROGRAM_OPTIONS_DYN_LINK=1")
\ No newline at end of file