|
Boost-Commit : |
From: troy_at_[hidden]
Date: 2008-05-18 00:45:01
Author: troy
Date: 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
New Revision: 45474
URL: http://svn.boost.org/trac/boost/changeset/45474
Log:
Boost 1.35.0 release retrofitted with cmake build. Libs build, testing and 'make package' known not to work in a few places as libs/* structure is inconsistent (no test/ dirs, etc.)
Added:
branches/CMake/Boost_1_35_0/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/README.txt (contents, props changed)
branches/CMake/Boost_1_35_0/Welcome.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/algorithm/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/algorithm/minmax/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/algorithm/string/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/any/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/any/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/array/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/assign/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/assign/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/bind/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/bind/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/circular_buffer/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/circular_buffer/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/concept_check/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/config/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/config/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/conversion/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/conversion/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/crc/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/date_time/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/date_time/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/date_time/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/disjoint_sets/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/dynamic_bitset/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/filesystem/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/filesystem/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/filesystem/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/foreach/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/foreach/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/format/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/format/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/function/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/function/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/function_types/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/function_types/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/functional/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/functional/hash/examples/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/functional/hash/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/gil/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/gil/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/graph/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/graph/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/graph/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/integer/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/integer/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/io/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/io/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/iostreams/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/iostreams/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/iostreams/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/iterator/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/iterator/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/lambda/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/lambda/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/logic/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/logic/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/math/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/math/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/mpi/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/mpi/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/mpi/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/mpl/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/mpl/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/multi_array/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/multi_array/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/multi_index/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/multi_index/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/numeric/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/numeric/conversion/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/numeric/interval/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/numeric/ublas/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/optional/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/optional/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/parameter/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/parameter/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/pool/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/pool/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/preprocessor/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/preprocessor/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/program_options/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/program_options/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/program_options/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/property_map/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/property_map/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/ptr_container/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/ptr_container/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/python/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/python/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/python/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/random/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/random/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/range/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/range/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/rational/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/regex/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/regex/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/regex/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/serialization/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/serialization/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/serialization/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/signals/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/signals/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/signals/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/smart_ptr/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/smart_ptr/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/spirit/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/spirit/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/spirit/test/actor/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/spirit/test/typeof_support/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/statechart/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/statechart/example/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/statechart/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/static_assert/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/system/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/system/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/test/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/test/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/thread/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/thread/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/thread/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/timer/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/tokenizer/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/tr1/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/tr1/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/tuple/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/tuple/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/type_traits/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/type_traits/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/typeof/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/typeof/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/utility/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/utility/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/variant/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/variant/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/wave/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/wave/src/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/wave/test/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/xpressive/CMakeLists.txt (contents, props changed)
branches/CMake/Boost_1_35_0/libs/xpressive/test/CMakeLists.txt (contents, props changed)
Added: branches/CMake/Boost_1_35_0/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,195 @@
+##########################################################################
+# CMake Build Rules for Boost #
+##########################################################################
+# Copyright (C) 2007, 2008 Douglas Gregor <doug.gregor_at_[hidden]> #
+# Copyright (C) 2007 Troy Straszheim #
+# #
+# Distributed under the Boost Software License, Version 1.0. #
+# See accompanying file LICENSE_1_0.txt or copy at #
+# http://www.boost.org/LICENSE_1_0.txt #
+##########################################################################
+# Basic Usage: #
+# #
+# On Unix variants: #
+# ccmake BOOST_DIRECTORY #
+# #
+# (c)onfigure options to your liking, then (g)enerate #
+# makefiles. Use "make" to build, "make test" to test, "make #
+# install" to install, and "make package" to build binary #
+# packages. #
+# #
+# On Windows: #
+# run the CMake GNU, load the Boost directory, and generate #
+# project files or makefiles for your environment. #
+# #
+# For more information about CMake, see http://www.cmake.org #
+##########################################################################
+cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
+project(Boost)
+
+##########################################################################
+# Version information #
+##########################################################################
+set(BOOST_VERSION_MAJOR 1)
+set(BOOST_VERSION_MINOR 35)
+set(BOOST_VERSION_SUBMINOR 0)
+set(BOOST_VERSION "${BOOST_VERSION_MAJOR}.${BOOST_VERSION_MINOR}.${BOOST_VERSION_SUBMINOR}")
+##########################################################################
+
+##########################################################################
+# Boost CMake modules #
+##########################################################################
+list(APPEND CMAKE_MODULE_PATH ${Boost_SOURCE_DIR}/tools/build/CMake)
+include(BoostUtils)
+include(BoostConfig)
+include(BoostCore)
+include(BoostTesting)
+##########################################################################
+
+##########################################################################
+# Build Features and Variants #
+##########################################################################
+
+# User-level options deciding which variants we will build.
+option(BUILD_STATIC "Whether to build static libraries" ON)
+option(BUILD_SHARED "Whether to build shared libraries" ON)
+option(BUILD_DEBUG "Whether to build debugging libraries" ON)
+option(BUILD_RELEASE "Whether to build release libraries" ON)
+option(BUILD_SINGLE_THREADED "Whether to build single-threaded libraries" ON)
+option(BUILD_MULTI_THREADED "Whether to build multi-threaded libraries" ON)
+
+# For now, we only actually support static/dynamic run-time variants for
+# Visual C++. Provide both options for Visual C++ users, but just fix
+# the values of the variables for all other platforms.
+if(MSVC)
+ option(BUILD_STATIC_RUNTIME "Whether to build libraries linking against the static runtime" ON)
+ option(BUILD_DYNAMIC_RUNTIME "Whether to build libraries linking against the dynamic runtime" ON)
+else(MSVC)
+ set(BUILD_STATIC_RUNTIME OFF)
+ set(BUILD_DYNAMIC_RUNTIME ON)
+endif(MSVC)
+
+# The default set of library variants that we will be building
+boost_add_default_variant(RELEASE DEBUG)
+boost_add_default_variant(STATIC SHARED)
+if(MSVC)
+ boost_add_default_variant(MULTI_THREADED SINGLE_THREADED)
+else(MSVC)
+ boost_add_default_variant(SINGLE_THREADED MULTI_THREADED)
+endif(MSVC)
+boost_add_default_variant(DYNAMIC_RUNTIME STATIC_RUNTIME)
+
+# Extra features used by some libraries
+set(BUILD_PYTHON_NODEBUG ON)
+boost_add_extra_variant(PYTHON_NODEBUG PYTHON_DEBUG)
+##########################################################################
+
+##########################################################################
+# Installation #
+##########################################################################
+if(BOOST_VERSION_SUBMINOR GREATER 0)
+ set(BOOST_HEADER_DIR
+ "include/boost-${BOOST_VERSION_MAJOR}_${BOOST_VERSION_MINOR}_${BOOST_VERSION_SUBMINOR}")
+else(BOOST_VERSION_SUBMINOR GREATER 0)
+ set(BOOST_HEADER_DIR
+ "include/boost-${BOOST_VERSION_MAJOR}_${BOOST_VERSION_MINOR}")
+endif(BOOST_VERSION_SUBMINOR GREATER 0)
+install(DIRECTORY boost
+ DESTINATION ${BOOST_HEADER_DIR}
+ COMPONENT Core
+ PATTERN "CVS" EXCLUDE
+ REGEX ".svn" EXCLUDE)
+if (NOT TEST_INSTALLED_TREE)
+ # If I don't have if around this, I get a seg fault
+ install(EXPORT boost-targets DESTINATION "lib/Boost${BOOST_VERSION}")
+endif (NOT TEST_INSTALLED_TREE)
+##########################################################################
+
+
+##########################################################################
+# Building Boost libraries #
+##########################################################################
+# Always include the directory where Boost's include files will be.
+if (TEST_INSTALLED_TREE)
+ # Use the headers from the installation directory
+ include_directories("${CMAKE_INSTALL_PREFIX}/${BOOST_HEADER_DIR}")
+else (TEST_INSTALLED_TREE)
+ # Use the headers directly from the Boost source tree (in boost/)
+ include_directories(${Boost_SOURCE_DIR})
+endif (TEST_INSTALLED_TREE)
+
+# Put the libaries and binaries that get built into directories at the
+# top of the build tree rather than in hard-to-find leaf
+# directories. This simplifies manual testing and the use of the build
+# tree rather than installed Boost libraries.
+SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
+SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
+
+# Boost.Build version 2 does this due to trouble with autolinking
+# during building and testing.
+# TODO: See if we can actually use auto-linking in our regression tests.
+add_definitions(-DBOOST_ALL_NO_LIB=1)
+
+# Add build rules for all of the Boost libraries
+add_subdirectory(libs)
+
+# Add build rules for all of the Boost tools
+# TODO: On hold while I work on the modularity code
+# add_subdirectory(tools)
+##########################################################################
+
+##########################################################################
+# Binary packages #
+##########################################################################
+set(CPACK_PACKAGE_NAME "Boost")
+set(CPACK_PACKAGE_VENDOR "Boost.org")
+set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Boost")
+set(CPACK_PACKAGE_DESCRIPTION_FILE "${Boost_SOURCE_DIR}/README.txt")
+set(CPACK_RESOURCE_FILE_README "${Boost_SOURCE_DIR}/README.txt")
+set(CPACK_RESOURCE_FILE_LICENSE "${Boost_SOURCE_DIR}/LICENSE_1_0.txt")
+set(CPACK_RESOURCE_FILE_WELCOME "${Boost_SOURCE_DIR}/Welcome.txt")
+set(CPACK_PACKAGE_VERSION "${BOOST_VERSION}")
+set(CPACK_PACKAGE_VERSION_MAJOR "${BOOST_VERSION_MAJOR}")
+set(CPACK_PACKAGE_VERSION_MINOR "${BOOST_VERSION_MINOR}")
+set(CPACK_PACKAGE_VERSION_PATCH "${BOOST_VERSION_SUBMINOR}")
+set(CPACK_PACKAGE_INSTALL_DIRECTORY "Boost")
+
+# Setup "core" component
+if (CPACK_COMPONENTS_BOOST_ALL)
+ list(SORT CPACK_COMPONENTS_BOOST_ALL)
+endif ()
+set(CPACK_COMPONENTS_BOOST_ALL "Core" ${CPACK_COMPONENTS_BOOST_ALL})
+set(CPACK_COMPONENT_BOOST_CORE_REQUIRED ON)
+set(CPACK_COMPONENT_BOOST_CORE_DISPLAY_NAME "Core libraries")
+set(CPACK_COMPONENT_BOOST_CORE_DESCRIPTION
+ "The headers and core library binaries required to use Boost")
+
+if(WIN32 AND NOT UNIX)
+ # There is a bug in NSI that does not handle full unix paths properly. Make
+ # sure there is at least one set of four (4) backlasshes.
+ # NOTE: No Boost icon yet
+# set(CPACK_PACKAGE_ICON "${Boost_SOURCE_DIR}/tools/build/CMake\\\\InstallIcon.bmp")
+# set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\MyExecutable.exe")
+ set(CPACK_NSIS_DISPLAY_NAME "Boost ${BOOST_VERSION_MAJOR}.${BOOST_VERSION_MINOR}.${BOOST_VERSION_SUBMINOR}")
+ set(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.boost.org")
+ set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.boost.org")
+ set(CPACK_NSIS_CONTACT "boost-users_at_[hidden]")
+ set(CPACK_NSIS_MODIFY_PATH ON)
+
+ # Encode the compiler name in the package
+ if (MSVC60)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc6")
+ elseif (MSVC70)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc7")
+ elseif (MSVC71)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc71")
+ elseif (MSVC80)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc8")
+ elseif (MSVC90)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc9")
+ elseif (BORLAND)
+ set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-borland")
+ endif (MSVC60)
+endif(WIN32 AND NOT UNIX)
+include(CPack)
+##########################################################################
Added: branches/CMake/Boost_1_35_0/README.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/README.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1 @@
+Placeholder file: CPack insists that this file be here
Added: branches/CMake/Boost_1_35_0/Welcome.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/Welcome.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1 @@
+Placeholder file: CPack insists that this file be here
Added: branches/CMake/Boost_1_35_0/libs/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,47 @@
+# Find each subdirectory containing a CMakeLists.txt file, and include
+# it. This avoids the need to manually list which libraries in Boost
+# have CMakeLists.txt files.
+
+# return a list of directories that we should add_subdirectory()
+macro(BOOST_COLLECT_SUBPROJECT_DIRECTORY_NAMES varname filename)
+ file(GLOB BOOST_LIBRARY_CMAKE_FILES
+ RELATIVE "${CMAKE_SOURCE_DIR}/libs" "*/${filename}")
+ foreach(BOOST_LIB_CMAKE_FILE ${BOOST_LIBRARY_CMAKE_FILES})
+ get_filename_component(BOOST_LIB_DIR ${BOOST_LIB_CMAKE_FILE} PATH)
+ set(${varname} ${${varname}} ${BOOST_LIB_DIR})
+ endforeach(BOOST_LIB_CMAKE_FILE ${BOOST_LIBRARY_CMAKE_FILES})
+endmacro(BOOST_COLLECT_SUBPROJECT_DIRECTORY_NAMES varname)
+
+macro(ADD_SUBDIRECTORIES prefix)
+ foreach(subdir ${ARGN})
+ MESSAGE(STATUS "${prefix}${subdir}")
+ add_subdirectory(${subdir})
+ endforeach(subdir ${ARGN})
+endmacro(ADD_SUBDIRECTORIES prefix)
+
+# Find all of the subdirectories with .cmake files in them. These are
+# the libraries with dependencies.
+boost_collect_subproject_directory_names(BOOST_MODULE_DIRS "module.cmake")
+foreach(subdir ${BOOST_MODULE_DIRS})
+ include("${CMAKE_SOURCE_DIR}/libs/${subdir}/module.cmake")
+endforeach(subdir)
+
+# Find all of the subdirectories with CMakeLists.txt files in
+# them. This contains all of the Boost libraries.
+boost_collect_subproject_directory_names(BOOST_SUBPROJECT_DIRS "CMakeLists.txt")
+
+# Add all of the Boost projects in reverse topological order, so that
+# a library's dependencies show up before the library itself.
+set(CPACK_INSTALL_CMAKE_COMPONENTS_ALL)
+list(SORT BOOST_SUBPROJECT_DIRS)
+topological_sort(BOOST_SUBPROJECT_DIRS BOOST_ _DEPENDS)
+add_subdirectories(" + " ${BOOST_SUBPROJECT_DIRS})
+
+# Export the list of components to be installed
+set(CPACK_COMPONENTS_BOOST_ALL ${CPACK_COMPONENTS_BOOST_ALL} PARENT_SCOPE)
+set(CPACK_COMPONENT_GROUPS_BOOST_ALL ${CPACK_COMPONENT_GROUPS_BOOST_ALL} PARENT_SCOPE)
+
+# Export all of the variables that have been marked as "to be exported"
+foreach(MACRO ${BOOST_EXPORT_MACROS})
+ set(${MACRO} ${${MACRO}} PARENT_SCOPE)
+endforeach()
Added: branches/CMake/Boost_1_35_0/libs/algorithm/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/algorithm/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Algorithm
+ TESTDIRS minmax/test string/test
+ )
Added: branches/CMake/Boost_1_35_0/libs/algorithm/minmax/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/algorithm/minmax/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_test_run(minmax_element_test)
+boost_test_run(minmax_test)
Added: branches/CMake/Boost_1_35_0/libs/algorithm/string/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/algorithm/string/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,10 @@
+boost_test_run(trim_test)
+
+boost_test_run(conv_test)
+boost_test_run(predicate_test)
+boost_test_run(find_test)
+boost_test_run(split_test)
+boost_test_run(join_test)
+boost_test_run(replace_test)
+boost_test_run(regex_test DEPENDS boost_regex SHARED)
+
Added: branches/CMake/Boost_1_35_0/libs/any/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/any/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Any
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/any/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/any/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_test_run(any_test ../any_test.cpp)
+
Added: branches/CMake/Boost_1_35_0/libs/array/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/array/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Array
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/assign/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/assign/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Assign
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/assign/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/assign/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,19 @@
+SET(TESTS
+ basic
+ std
+ list_of
+ ptr_list_of
+ static_list_of
+ tuple_list_of
+ list_inserter
+ ptr_list_inserter
+ ptr_map_inserter
+ list_of_workaround
+ email_example
+ my_vector_example
+ multi_index_container)
+
+FOREACH(test ${TESTS})
+ boost_test_run(${test} DEPENDS boost_unit_test_framework)
+ENDFOREACH(test ${TESTS})
+
Added: branches/CMake/Boost_1_35_0/libs/bind/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/bind/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Bind
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/bind/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/bind/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,28 @@
+SET(tests
+ bind_test
+ bind_dm_test
+ bind_eq_test
+ bind_const_test
+ bind_cv_test
+ bind_stateful_test
+ bind_dm2_test
+ bind_not_test
+ bind_rel_test
+ bind_function_test
+ bind_lookup_problem_test
+ bind_rv_sp_test
+ bind_dm3_test
+ bind_visit_test
+ mem_fn_test
+ mem_fn_void_test
+ mem_fn_derived_test
+ mem_fn_eq_test
+ mem_fn_dm_test
+ mem_fn_rv_test
+ )
+FOREACH(test ${tests})
+ boost_test_run(${test})
+ENDFOREACH(test ${tests})
+
+boost_test_compile(bind_unary_addr)
+
Added: branches/CMake/Boost_1_35_0/libs/circular_buffer/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/circular_buffer/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_library_project(CircularBuffer
+ TESTDIRS test)
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/circular_buffer/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/circular_buffer/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_test_run(base_test SINGLE_THREADED)
+boost_test_run(space_optimized_test SINGLE_THREADED)
+boost_test_run(soft_iterator_invalidation SINGLE_THREADED)
+boost_test_compile(bounded_buffer_comparison)
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/concept_check/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/concept_check/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Concept_check
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/config/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/config/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,3 @@
+boost_library_project(
+ Config
+ TESTDIRS test)
Added: branches/CMake/Boost_1_35_0/libs/config/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/config/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,255 @@
+#
+# Regression test rules for Boost configuration setup.
+# *** DO NOT EDIT THIS FILE BY HAND ***
+# This file was automatically generated on Fri May 18 22:13:10 2007
+# by libs/config/tools/generate.cpp
+# Copyright John Maddock and Douglas Gregor.
+# Use, modification and distribution are subject to the
+# Boost Software License, Version 1.0. (See accompanying file
+# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+macro(boost_configure what var)
+ file(READ ${CMAKE_CURRENT_SOURCE_DIR}/${what}.ipp SRC)
+ check_cxx_source_compiles("${SRC} int main(int, char**) { }" tmp)
+ set(${var} ${tmp})
+endmacro(boost_configure what)
+
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/main.cpp "int main(int, char**) { }")
+
+#
+# it would seem a lot easier to do this kind of thing here and write a config.h at build time
+# rather than checking all this stuff in
+#
+
+boost_configure(boost_has_pthread_yield BOOST_HAS_PTHREAD_YIELD)
+# boost_configure(boost_has_nanosleep BOOST_HAS_NANOSLEEP)
+# boost_configure(boost_has_pthread_ma_st BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE)
+# boost_configure(boost_no_ded_typename BOOST_DEDUCED_TYPENAME)
+
+set(vars "BOOST_HAS_PTHREAD_YIELD")
+foreach(var ${vars})
+ if(${var})
+ add_definitions(-D${var})
+ endif(${var})
+endforeach(var ${vars})
+
+boost_test_run(config_info)
+boost_test_run(math_info)
+
+
+# if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+# set(threadlibs "LIBRARIES;pthread;rt")
+# endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
+
+# these aren't really tests anyway
+#set(tests_need_threadlibs config_test has_clock_gettime_pass has_pthread_ma_st_pass has_pthread_yield_pass)
+#foreach(test ${tests_need_threadlibs})
+# boost_test_run(${test})
+#endforeach(test ${tests_need_threadlibs})
+
+
+boost_test_run(limits_test DEPENDS boost_test_exec_monitor)
+boost_test_run(abi_test abi/abi_test.cpp abi/main.cpp)
+
+boost_test_run(has_2arg_use_facet_pass)
+boost_test_compile_fail(has_2arg_use_facet_fail)
+boost_test_run(has_bethreads_pass)
+boost_test_compile_fail(has_bethreads_fail)
+boost_test_compile_fail(has_clock_gettime_fail)
+boost_test_run(has_dirent_h_pass)
+boost_test_compile_fail(has_dirent_h_fail)
+boost_test_run(has_expm1_pass)
+boost_test_compile_fail(has_expm1_fail)
+boost_test_run(has_ftime_pass)
+boost_test_compile_fail(has_ftime_fail)
+boost_test_run(has_gettimeofday_pass)
+boost_test_compile_fail(has_gettimeofday_fail)
+boost_test_run(has_hash_pass)
+boost_test_compile_fail(has_hash_fail)
+boost_test_run(has_log1p_pass)
+boost_test_compile_fail(has_log1p_fail)
+boost_test_run(has_long_long_pass)
+boost_test_compile_fail(has_long_long_fail)
+boost_test_run(has_macro_use_facet_pass)
+boost_test_compile_fail(has_macro_use_facet_fail)
+boost_test_run(has_ms_int64_pass)
+boost_test_compile_fail(has_ms_int64_fail)
+boost_test_run(has_nanosleep_pass)
+boost_test_compile_fail(has_nanosleep_fail)
+boost_test_run(has_nl_types_h_pass)
+boost_test_compile_fail(has_nl_types_h_fail)
+boost_test_run(has_nrvo_pass)
+boost_test_compile_fail(has_nrvo_fail)
+boost_test_run(has_part_alloc_pass)
+boost_test_compile_fail(has_part_alloc_fail)
+boost_test_run(has_pthread_delay_np_pass)
+boost_test_compile_fail(has_pthread_delay_np_fail)
+
+boost_test_compile_fail(has_pthread_ma_st_fail)
+boost_test_compile_fail(has_pthread_yield_fail)
+boost_test_run(has_pthreads_pass)
+boost_test_compile_fail(has_pthreads_fail)
+boost_test_run(has_sched_yield_pass)
+boost_test_compile_fail(has_sched_yield_fail)
+boost_test_run(has_sgi_type_traits_pass)
+boost_test_compile_fail(has_sgi_type_traits_fail)
+boost_test_run(has_sigaction_pass)
+boost_test_compile_fail(has_sigaction_fail)
+boost_test_run(has_slist_pass)
+boost_test_compile_fail(has_slist_fail)
+boost_test_run(has_stdint_h_pass)
+boost_test_compile_fail(has_stdint_h_fail)
+boost_test_run(has_stlp_use_facet_pass)
+boost_test_compile_fail(has_stlp_use_facet_fail)
+boost_test_run(has_tr1_array_pass)
+boost_test_compile_fail(has_tr1_array_fail)
+boost_test_run(has_tr1_bind_pass)
+boost_test_compile_fail(has_tr1_bind_fail)
+boost_test_run(has_tr1_complex_over_pass)
+boost_test_compile_fail(has_tr1_complex_over_fail)
+boost_test_run(has_tr1_complex_trig_pass)
+boost_test_compile_fail(has_tr1_complex_trig_fail)
+boost_test_run(has_tr1_function_pass)
+boost_test_compile_fail(has_tr1_function_fail)
+boost_test_run(has_tr1_hash_pass)
+boost_test_compile_fail(has_tr1_hash_fail)
+boost_test_run(has_tr1_mem_fn_pass)
+boost_test_compile_fail(has_tr1_mem_fn_fail)
+boost_test_run(has_tr1_random_pass)
+boost_test_compile_fail(has_tr1_random_fail)
+boost_test_run(has_tr1_ref_wrap_pass)
+boost_test_compile_fail(has_tr1_ref_wrap_fail)
+boost_test_run(has_tr1_regex_pass)
+boost_test_compile_fail(has_tr1_regex_fail)
+boost_test_run(has_tr1_result_of_pass)
+boost_test_compile_fail(has_tr1_result_of_fail)
+boost_test_run(has_tr1_shared_ptr_pass)
+boost_test_compile_fail(has_tr1_shared_ptr_fail)
+boost_test_run(has_tr1_tuple_pass)
+boost_test_compile_fail(has_tr1_tuple_fail)
+boost_test_run(has_tr1_type_traits_pass)
+boost_test_compile_fail(has_tr1_type_traits_fail)
+boost_test_run(has_tr1_unordered_map_pass)
+boost_test_compile_fail(has_tr1_unordered_map_fail)
+boost_test_run(has_tr1_unordered_set_pass)
+boost_test_compile_fail(has_tr1_unordered_set_fail)
+boost_test_run(has_tr1_utility_pass)
+boost_test_compile_fail(has_tr1_utility_fail)
+boost_test_run(has_unistd_h_pass)
+boost_test_compile_fail(has_unistd_h_fail)
+boost_test_run(has_vc6_mem_templ_pass)
+boost_test_compile_fail(has_vc6_mem_templ_fail)
+boost_test_run(has_vc_iterator_pass)
+boost_test_compile_fail(has_vc_iterator_fail)
+boost_test_run(has_winthreads_pass)
+boost_test_compile_fail(has_winthreads_fail)
+boost_test_run(no_arg_dep_lookup_pass)
+boost_test_compile_fail(no_arg_dep_lookup_fail)
+boost_test_run(no_array_type_spec_pass)
+boost_test_compile_fail(no_array_type_spec_fail)
+boost_test_run(no_auto_ptr_pass)
+boost_test_compile_fail(no_auto_ptr_fail)
+boost_test_run(no_bcb_partial_spec_pass)
+boost_test_compile_fail(no_bcb_partial_spec_fail)
+boost_test_run(no_ctype_functions_pass)
+boost_test_compile_fail(no_ctype_functions_fail)
+boost_test_run(no_cv_spec_pass)
+boost_test_compile_fail(no_cv_spec_fail)
+boost_test_run(no_cv_void_spec_pass)
+boost_test_compile_fail(no_cv_void_spec_fail)
+boost_test_run(no_cwchar_pass)
+boost_test_compile_fail(no_cwchar_fail)
+boost_test_run(no_cwctype_pass)
+boost_test_compile_fail(no_cwctype_fail)
+boost_test_run(no_ded_typename_pass)
+boost_test_compile_fail(no_ded_typename_fail)
+boost_test_run(no_dep_nested_class_pass)
+boost_test_compile_fail(no_dep_nested_class_fail)
+boost_test_run(no_dep_val_param_pass)
+boost_test_compile_fail(no_dep_val_param_fail)
+boost_test_run(no_excep_std_pass)
+boost_test_compile_fail(no_excep_std_fail)
+boost_test_run(no_exceptions_pass)
+boost_test_compile_fail(no_exceptions_fail)
+boost_test_run(no_exp_func_tem_arg_pass)
+boost_test_compile_fail(no_exp_func_tem_arg_fail)
+boost_test_run(no_func_tmp_order_pass)
+boost_test_compile_fail(no_func_tmp_order_fail)
+boost_test_run(no_i64_limits_pass)
+boost_test_compile_fail(no_i64_limits_fail)
+boost_test_run(no_inline_memb_init_pass)
+boost_test_compile_fail(no_inline_memb_init_fail)
+boost_test_run(no_integral_int64_t_pass)
+boost_test_compile_fail(no_integral_int64_t_fail)
+boost_test_run(no_is_abstract_pass)
+boost_test_compile_fail(no_is_abstract_fail)
+boost_test_run(no_iter_construct_pass)
+boost_test_compile_fail(no_iter_construct_fail)
+boost_test_run(no_limits_pass)
+boost_test_compile_fail(no_limits_fail)
+boost_test_run(no_limits_const_exp_pass)
+boost_test_compile_fail(no_limits_const_exp_fail)
+boost_test_run(no_ll_limits_pass)
+boost_test_compile_fail(no_ll_limits_fail)
+boost_test_run(no_mem_func_spec_pass)
+boost_test_compile_fail(no_mem_func_spec_fail)
+boost_test_run(no_mem_tem_keyword_pass)
+boost_test_compile_fail(no_mem_tem_keyword_fail)
+boost_test_run(no_mem_tem_pnts_pass)
+boost_test_compile_fail(no_mem_tem_pnts_fail)
+boost_test_run(no_mem_templ_frnds_pass)
+boost_test_compile_fail(no_mem_templ_frnds_fail)
+boost_test_run(no_mem_templates_pass)
+boost_test_compile_fail(no_mem_templates_fail)
+boost_test_run(no_ops_in_namespace_pass)
+boost_test_compile_fail(no_ops_in_namespace_fail)
+boost_test_run(no_partial_spec_pass)
+boost_test_compile_fail(no_partial_spec_fail)
+boost_test_run(no_priv_aggregate_pass)
+boost_test_compile_fail(no_priv_aggregate_fail)
+boost_test_run(no_ptr_mem_const_pass)
+boost_test_compile_fail(no_ptr_mem_const_fail)
+boost_test_run(no_ret_det_pass)
+boost_test_compile_fail(no_ret_det_fail)
+boost_test_run(no_sfinae_pass)
+boost_test_compile_fail(no_sfinae_fail)
+boost_test_run(no_sstream_pass)
+boost_test_compile_fail(no_sstream_fail)
+boost_test_run(no_std_allocator_pass)
+boost_test_compile_fail(no_std_allocator_fail)
+boost_test_run(no_std_distance_pass)
+boost_test_compile_fail(no_std_distance_fail)
+boost_test_run(no_std_iter_traits_pass)
+boost_test_compile_fail(no_std_iter_traits_fail)
+boost_test_run(no_std_iterator_pass)
+boost_test_compile_fail(no_std_iterator_fail)
+boost_test_run(no_std_locale_pass)
+boost_test_compile_fail(no_std_locale_fail)
+boost_test_run(no_std_messages_pass)
+boost_test_compile_fail(no_std_messages_fail)
+boost_test_run(no_std_min_max_pass)
+boost_test_compile_fail(no_std_min_max_fail)
+boost_test_run(no_std_oi_assign_pass)
+boost_test_compile_fail(no_std_oi_assign_fail)
+boost_test_run(no_std_use_facet_pass)
+boost_test_compile_fail(no_std_use_facet_fail)
+boost_test_run(no_std_wstreambuf_pass)
+boost_test_compile_fail(no_std_wstreambuf_fail)
+boost_test_run(no_std_wstring_pass)
+boost_test_compile_fail(no_std_wstring_fail)
+boost_test_run(no_stdc_namespace_pass)
+boost_test_compile_fail(no_stdc_namespace_fail)
+boost_test_run(no_swprintf_pass)
+boost_test_compile_fail(no_swprintf_fail)
+boost_test_run(no_template_template_pass)
+boost_test_compile_fail(no_template_template_fail)
+boost_test_run(no_using_breaks_adl_pass)
+boost_test_compile_fail(no_using_breaks_adl_fail)
+boost_test_run(no_using_decl_overld_pass)
+boost_test_compile_fail(no_using_decl_overld_fail)
+boost_test_run(no_using_template_pass)
+boost_test_compile_fail(no_using_template_fail)
+boost_test_run(no_void_returns_pass)
+boost_test_compile_fail(no_void_returns_fail)
+boost_test_run(no_wchar_t_pass)
+boost_test_compile_fail(no_wchar_t_fail)
+
Added: branches/CMake/Boost_1_35_0/libs/conversion/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/conversion/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Conversion
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/conversion/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/conversion/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,12 @@
+boost_test_run(implicit_cast)
+boost_test_compile_fail(implicit_cast_fail)
+boost_test_run(cast_test ../cast_test.cpp)
+boost_test_run(numeric_cast_test ../numeric_cast_test.cpp)
+boost_test_run(
+ lexical_cast_test
+ ../lexical_cast_test.cpp
+ DEPENDS boost_unit_test_framework
+)
+
+
+
Added: branches/CMake/Boost_1_35_0/libs/crc/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/crc/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ CRC
+ TESTDIRS test
+)
+
+
Added: branches/CMake/Boost_1_35_0/libs/date_time/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/date_time/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,10 @@
+boost_library_project(
+ Date_time
+ SRCDIRS src
+ TESTDIRS test
+ )
+
+
+
+
+
Added: branches/CMake/Boost_1_35_0/libs/date_time/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/date_time/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+add_definitions(-DBOOST_DATE_TIME_NO_LIB=1)
+boost_add_library(
+ boost_date_time
+ gregorian/greg_month.cpp gregorian/greg_weekday.cpp gregorian/date_generators.cpp
+ STATIC_COMPILE_FLAGS -DBOOST_DATE_TIME_STATIC_LINK
+ SHARED_COMPILE_FLAGS -DBOOST_ALL_DYN_LINK=1
+ )
Added: branches/CMake/Boost_1_35_0/libs/date_time/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/date_time/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,185 @@
+# Core
+boost_test_run(testint_adapter)
+boost_test_run(testtime_resolution_traits)
+boost_test_run(testwrapping_int)
+boost_test_run(testconstrained_value)
+boost_test_run(testgregorian_calendar)
+boost_test_run(testgeneric_period)
+
+set(DATE_TIME_COMPILE_FLAGS
+ "-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_DATE_TIME_STATIC_LINK -DBOOST_ALL_NO_LIB")
+set(DATE_TIME_SHARED_COMPILE_FLAGS
+ "-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB")
+
+# A macro that collects the common settings used to build a run test
+# for the Date-Time library that links statically.
+macro(date_time_static_test SUBDIR TESTNAME)
+ boost_test_run(${TESTNAME}
+ "${SUBDIR}/${TESTNAME}.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS ${DATE_TIME_COMPILE_FLAGS})
+endmacro(date_time_static_test)
+
+# A macro that collects the common settings used to build a run test
+# for the Date-Time library that links dynamically.
+macro(date_time_shared_test SUBDIR TESTNAME)
+ boost_test_run("${TESTNAME}_dll"
+ "${SUBDIR}/${TESTNAME}.cpp"
+ DEPENDS boost_date_time SHARED
+ COMPILE_FLAGS ${DATE_TIME_SHARED_COMPILE_FLAGS})
+endmacro(date_time_shared_test)
+
+# Gregorian
+date_time_static_test(gregorian testdate)
+date_time_static_test(gregorian testdate_duration)
+date_time_static_test(gregorian testgreg_durations)
+date_time_static_test(gregorian testperiod)
+date_time_static_test(gregorian testdate_iterator)
+date_time_static_test(gregorian testformatters)
+### streaming
+date_time_static_test(gregorian testdate_facet_new)
+date_time_static_test(gregorian testdate_input_facet)
+###
+date_time_static_test(gregorian testgenerators)
+date_time_static_test(gregorian testgreg_cal)
+date_time_static_test(gregorian testgreg_day)
+date_time_static_test(gregorian testgreg_month)
+date_time_static_test(gregorian testgreg_year)
+
+date_time_shared_test(gregorian testdate)
+date_time_shared_test(gregorian testdate_duration)
+date_time_shared_test(gregorian testgreg_durations)
+date_time_shared_test(gregorian testperiod)
+date_time_shared_test(gregorian testdate_iterator)
+date_time_shared_test(gregorian testformatters)
+### streaming
+date_time_shared_test(gregorian testdate_facet_new)
+date_time_shared_test(gregorian testdate_input_facet)
+###
+date_time_shared_test(gregorian testgenerators)
+date_time_shared_test(gregorian testgreg_cal)
+date_time_shared_test(gregorian testgreg_day)
+date_time_shared_test(gregorian testgreg_month)
+date_time_shared_test(gregorian testgreg_year)
+
+# POSIX Time
+date_time_static_test(posix_time testfiletime_functions)
+date_time_static_test(posix_time testlocal_adjustor)
+date_time_static_test(posix_time testc_local_adjustor)
+date_time_static_test(posix_time testclock)
+date_time_static_test(posix_time testdst_rules)
+date_time_static_test(posix_time testduration)
+date_time_static_test(posix_time testiterator)
+date_time_static_test(posix_time testparse_time)
+date_time_static_test(posix_time testtime_period)
+date_time_static_test(posix_time testtime)
+date_time_static_test(posix_time testmicrosec_time_clock)
+date_time_static_test(posix_time testtime_formatters)
+date_time_static_test(posix_time testgreg_duration_operators)
+### streaming
+date_time_static_test(posix_time testtime_facet)
+date_time_static_test(posix_time testtime_input_facet)
+###
+
+# Wide streaming
+boost_test_run(testgreg_wstream
+ "gregorian/testgreg_wstream.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+boost_test_run(testtime_wstream
+ "posix_time/testtime_wstream.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+
+# Pre-1.33 facets
+boost_test_run(testfacet_dll
+ "gregorian/testfacet.cpp"
+ DEPENDS boost_date_time SHARED
+ COMPILE_FLAGS "${DATE_TIME_SHARED_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+# Note: This next test was commented out in the Jamfile.v2 because "it
+# crashes on VC6 (cause unknown)"
+boost_test_run(testparse_date_dll
+ "gregorian/testparse_date.cpp"
+ DEPENDS boost_date_time SHARED
+ COMPILE_FLAGS "${DATE_TIME_SHARED_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+boost_test_run(testfacet
+ "gregorian/testfacet.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+boost_test_run(testparse_date
+ "gregorian/testparse_date.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+boost_test_run(teststreams
+ "posix_time/teststreams.cpp"
+ DEPENDS boost_date_time STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+
+# Local time
+date_time_static_test(local_time testdst_transition_day_rule)
+date_time_static_test(local_time testcustom_time_zone)
+date_time_static_test(local_time testposix_time_zone)
+date_time_static_test(local_time testwcustom_time_zone)
+date_time_static_test(local_time testwposix_time_zone)
+
+# we have to copy these into the binary dir because to make the
+# paths inside the tests match
+if (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/libs/date_time/data")
+ execute_process(COMMAND cmake -E copy "${CMAKE_SOURCE_DIR}/libs/date_time/data/date_time_zonespec.csv" "${CMAKE_BINARY_DIR}/libs/date_time/data")
+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/libs/date_time/test/local_time")
+ execute_process(COMMAND cmake -E copy "${CMAKE_SOURCE_DIR}/libs/date_time/test/local_time/poorly_formed_zonespec.csv" "${CMAKE_BINARY_DIR}/libs/date_time/test/local_time")
+endif (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+
+date_time_static_test(local_time testtz_database)
+date_time_static_test(local_time testlocal_time)
+date_time_static_test(local_time testlocal_time_iterator)
+date_time_static_test(local_time testlocal_time_period)
+### streaming
+date_time_static_test(local_time testlocal_time_facet)
+date_time_static_test(local_time testlocal_time_input_facet)
+###
+date_time_static_test(local_time testclocks)
+
+
+set(DATE_TIME_COMPILE_FLAGS
+ "-DBOOST_DATE_TIME_STATIC_LINK -DBOOST_ALL_NO_LIB -DUSE_DATE_TIME_PRE_1_33_FACET_IO")
+
+# Serialization
+ # xml archive tests
+boost_test_run(testgreg_serialize_xml
+ "gregorian/testgreg_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DDATE_TIME_XML_SERIALIZE")
+boost_test_run(testtime_serialize_xml_std_config
+ "posix_time/testtime_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DDATE_TIME_XML_SERIALIZE")
+boost_test_run(testtime_serialize_xml
+ "posix_time/testtime_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DDATE_TIME_XML_SERIALIZE")
+
+ # text archive tests
+boost_test_run(testgreg_serialize
+ "gregorian/testgreg_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS}")
+boost_test_run(testgreg_serialize_dll
+ "gregorian/testgreg_serialize.cpp"
+ DEPENDS boost_date_time SHARED boost_serialization SHARED
+ COMPILE_FLAGS "${DATE_TIME_SHARED_COMPILE_FLAGS}")
+boost_test_run(testtime_serialize_std_config
+ "posix_time/testtime_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS} -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG")
+boost_test_run(testtime_serialize
+ "posix_time/testtime_serialize.cpp"
+ DEPENDS boost_date_time boost_serialization STATIC
+ COMPILE_FLAGS "${DATE_TIME_COMPILE_FLAGS}")
+
+# Copyright (c) 2000-2005
+# CrystalClear Software, Inc.
+# Subject to the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE-1.0 or
+# http://www.boost.org/LICENSE-1.0)
Added: branches/CMake/Boost_1_35_0/libs/disjoint_sets/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/disjoint_sets/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Disjoint_sets
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/dynamic_bitset/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/dynamic_bitset/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Dynamic_bitset
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/filesystem/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/filesystem/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,10 @@
+boost_library_project(
+ Filesystem
+ SRCDIRS src
+ TESTDIRS test
+ MODULAR
+ )
+
+
+
+
Added: branches/CMake/Boost_1_35_0/libs/filesystem/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/filesystem/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+boost_add_library(
+ boost_filesystem
+ operations.cpp path.cpp portability.cpp utf8_codecvt_facet.cpp
+ SHARED_COMPILE_FLAGS "-DBOOST_FILESYSTEM_DYN_LINK=1"
+ DEPENDS boost_system
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/filesystem/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/filesystem/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,21 @@
+ADD_DEFINITIONS(-DBOOST_ALL_NO_LIB) # -DBOOST_FILESYSTEM_STATIC_LINK)
+
+SET(TESTS path_test operations_test
+ fstream_test convenience_test
+ large_file_support_test wide_test)
+
+FOREACH(test ${TESTS})
+ boost_test_run(${test}_static
+ ${test}.cpp
+ DEPENDS boost_filesystem STATIC
+ COMPILE_FLAGS -DBOOST_FILESYSTEM_STATIC_LINK)
+ boost_test_run(${test}_dynamic
+ ${test}.cpp
+ DEPENDS boost_filesystem SHARED
+ COMPILE_FLAGS -DBOOST_FILESYSTEM_DYN_LINK)
+ENDFOREACH(test ${TESTS})
+
+boost_test_compile(mbcopy ../example/mbcopy.cpp)
+boost_test_compile(mbpath ../example/mbpath.cpp)
+boost_test_compile(simple_ls ../example/simple_ls.cpp)
+
Added: branches/CMake/Boost_1_35_0/libs/foreach/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/foreach/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Foreach
+ TESTDIRS test
+)
+
Added: branches/CMake/Boost_1_35_0/libs/foreach/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/foreach/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,21 @@
+set(TESTS
+stl_byval
+stl_byref
+array_byval
+array_byref
+cstr_byval
+cstr_byref
+pair_byval
+pair_byref
+user_defined
+call_once
+rvalue_const
+rvalue_nonconst
+dependent_type)
+
+foreach(test ${TESTS})
+ boost_test_run(${test})
+endforeach(test ${TESTS})
+
+boost_test_compile(noncopyable)
+
Added: branches/CMake/Boost_1_35_0/libs/format/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/format/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Format
+ TESTDIRS test
+)
+
Added: branches/CMake/Boost_1_35_0/libs/format/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/format/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_test_run(format_test1 DEPENDS boost_test_exec_monitor)
+boost_test_run(format_test2 DEPENDS boost_test_exec_monitor)
+boost_test_run(format_test3 DEPENDS boost_test_exec_monitor)
+boost_test_run(format_test_wstring DEPENDS boost_test_exec_monitor)
+
Added: branches/CMake/Boost_1_35_0/libs/function/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/function/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1 @@
+boost_library_project(Function TESTDIRS test)
Added: branches/CMake/Boost_1_35_0/libs/function/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/function/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,20 @@
+boost_test_run(lib_function_test function_test.cpp)
+boost_test_run(function_n_test)
+boost_test_run(allocator_test)
+boost_test_run(stateless_test)
+boost_test_run(lambda_test)
+boost_test_compile_fail(function_test_fail1)
+boost_test_compile_fail(function_test_fail2)
+boost_test_compile(function_30)
+boost_test_run(function_arith_cxx98)
+boost_test_run(function_arith_portable)
+boost_test_run(sum_avg_cxx98)
+boost_test_run(sum_avg_portable)
+boost_test_run(mem_fun_cxx98)
+boost_test_run(mem_fun_portable)
+boost_test_run(std_bind_cxx98)
+boost_test_run(std_bind_portable)
+boost_test_run(function_ref_cxx98)
+boost_test_run(function_ref_portable)
+boost_test_run(contains_test)
+boost_test_run(contains2_test)
Added: branches/CMake/Boost_1_35_0/libs/function_types/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/function_types/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_library_project(FunctionTypes
+ TESTDIRS test)
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/function_types/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/function_types/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,63 @@
+boost_test_compile(is_function classification/is_function.cpp)
+boost_test_compile(is_function_pointer classification/is_function_pointer.cpp)
+boost_test_compile(is_function_reference classification/is_function_reference.cpp)
+boost_test_compile(is_member_function_pointer classification/is_member_function_pointer.cpp)
+boost_test_compile(is_member_object_pointer classification/is_member_object_pointer.cpp)
+boost_test_compile(is_callable_builtin classification/is_callable_builtin.cpp)
+boost_test_compile(is_nonmember_callable_builtin classification/is_nonmember_callable_builtin.cpp)
+boost_test_compile(is_member_pointer classification/is_member_pointer.cpp)
+
+boost_test_compile(is_cv_mem_func_ptr classification/is_cv_mem_func_ptr.cpp)
+boost_test_compile(is_variadic classification/is_variadic.cpp)
+boost_test_compile(is_cv_pointer classification/is_cv_pointer.cpp)
+ # [ compile classification/is_cv_function.cpp)
+
+# Decomposition
+
+boost_test_compile(components decomposition/components.cpp)
+boost_test_compile(result_type decomposition/result_type.cpp)
+boost_test_compile(function_arity decomposition/function_arity.cpp)
+boost_test_compile(parameter_types decomposition/parameter_types.cpp)
+
+boost_test_compile(components_seq decomposition/components_seq.cpp)
+boost_test_compile(class_type_transform decomposition/class_type_transform.cpp)
+
+boost_test_compile_fail(result_type_fail decomposition/result_type_fail.cpp)
+boost_test_compile_fail(parameter_types_fail decomposition/parameter_types_fail.cpp)
+boost_test_compile_fail(function_arity_fail decomposition/function_arity_fail.cpp)
+
+# Synthesis
+
+boost_test_compile(function_type synthesis/function_type.cpp)
+boost_test_compile(function_pointer synthesis/function_pointer.cpp)
+boost_test_compile(function_reference synthesis/function_reference.cpp)
+boost_test_compile(member_function_pointer synthesis/member_function_pointer.cpp)
+boost_test_compile(member_object_pointer synthesis/member_object_pointer.cpp)
+
+boost_test_compile(transformation synthesis/transformation.cpp)
+boost_test_compile(mem_func_ptr_cv1 synthesis/mem_func_ptr_cv1.cpp)
+boost_test_compile(mem_func_ptr_cv2 synthesis/mem_func_ptr_cv2.cpp)
+boost_test_compile(mem_func_ptr_cv_ptr_to_this synthesis/mem_func_ptr_cv_ptr_to_this.cpp)
+boost_test_compile(variadic_function_synthesis synthesis/variadic_function_synthesis.cpp)
+ # [ compile synthesis/cv_function_synthesis.cpp)
+
+# Reconfiguration
+
+boost_test_compile(preprocessing_mode reconfiguration/preprocessing_mode.cpp)
+boost_test_compile(partial_arity_preprocessing reconfiguration/partial_arity_preprocessing.cpp)
+boost_test_compile(cc_preprocessing reconfiguration/cc_preprocessing.cpp)
+
+# Custom calling conventions
+
+boost_test_compile(nonmember_ccs custom_ccs/nonmember_ccs.cpp)
+boost_test_compile(nonmember_ccs_exact custom_ccs/nonmember_ccs_exact.cpp)
+boost_test_compile(member_ccs custom_ccs/member_ccs.cpp)
+boost_test_compile(member_ccs_exact custom_ccs/member_ccs_exact.cpp)
+
+# Code from the examples
+
+boost_test_compile(interpreter_example ../example/interpreter_example.cpp)
+boost_test_compile(result_of_example ../example/result_of_example.cpp)
+boost_test_compile(interface_example ../example/interface_example.cpp)
+boost_test_compile(fast_mem_fn_example ../example/fast_mem_fn_example.cpp)
+boost_test_compile(macro_type_args_example ../example/macro_type_args_example.cpp)
Added: branches/CMake/Boost_1_35_0/libs/functional/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/functional/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Functional
+ TESTDIRS test hash/test hash/examples
+)
+
Added: branches/CMake/Boost_1_35_0/libs/functional/hash/examples/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/functional/hash/examples/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_test_run(books)
+boost_test_run(point)
+boost_test_run(portable)
+
+
Added: branches/CMake/Boost_1_35_0/libs/functional/hash/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/functional/hash/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,44 @@
+#project hash-tests
+# : requirements
+# <toolset>gcc:<define>_GLIBCXX_DEBUG
+# ;
+if (GCC)
+ ADD_DEFINITIONS(-D_GLIBCXX_DEBUG)
+endif(GCC)
+
+# [ run .cpp : : : <test-info>always_show_run_output ]
+
+SET(tests
+hash_float_test
+hash_fwd_test_1
+hash_fwd_test_2
+hash_number_test
+hash_pointer_test
+hash_function_pointer_test
+hash_string_test
+hash_range_test
+hash_custom_test
+hash_global_namespace_test
+hash_friend_test
+hash_built_in_array_test
+hash_value_array_test
+hash_vector_test
+hash_list_test
+hash_deque_test
+hash_set_test
+hash_map_test
+container_fwd_test
+hash_no_ext_macro_1
+hash_no_ext_macro_2
+)
+
+boost_test_run(link_test link_test.cpp link_test_2.cpp)
+boost_test_run(link_ext_test link_ext_test.cpp link_no_ext_test.cpp)
+
+foreach(test ${tests})
+ boost_test_run(${test})
+endforeach(test ${tests})
+
+boost_test_compile_fail(hash_no_ext_fail_test)
+
+# build-project ../examples ;
Added: branches/CMake/Boost_1_35_0/libs/gil/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/gil/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1 @@
+boost_library_project(GIL TESTDIRS test)
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/gil/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/gil/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+add_definitions(-DBOOST_GIL_NO_IO -D_SCL_SECURE_NO_WARNINGS)
+boost_test_run(channel channel.cpp error_if.cpp)
+boost_test_run(image image.cpp sample_image.cpp error_if.cpp)
+boost_test_run(image_io image_io.cpp error_if.cpp)
+boost_test_run(pixel pixel.cpp error_if.cpp)
+boost_test_run(pixel_iterator pixel_iterator.cpp error_if.cpp)
Added: branches/CMake/Boost_1_35_0/libs/graph/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/graph/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+boost_library_project(
+ Graph
+ SRCDIRS src
+ TESTDIRS test
+ MODULAR
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/graph/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/graph/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,26 @@
+add_definitions(-DBOOST_GRAPH_NO_LIB=1)
+
+if (MSVC)
+ # Without these flags, MSVC 7.1 and 8.0 crash
+ add_definitions(-GR-)
+endif (MSVC)
+
+set(BOOST_GRAPH_OPTIONAL_SOURCES "")
+set(BOOST_GRAPH_OPTIONAL_LIBRARIES "")
+
+# Try to find the Expat library
+include(FindEXPAT)
+if (EXPAT_FOUND)
+ # We have Expat, so build the GraphML parser - TODO: Boost 1.34.x only
+# set(BOOST_GRAPH_OPTIONAL_SOURCES
+# ${BOOST_GRAPH_OPTIONAL_SOURCES} "graphml.cpp")
+ include_directories(${EXPAT_INCLUDE_DIRS})
+ list(APPEND BOOST_GRAPH_OPTIONAL_LIBRARIES ${EXPAT_LIBRARIES})
+endif (EXPAT_FOUND)
+
+boost_add_library(
+ boost_graph
+ read_graphviz_spirit.cpp ${BOOST_GRAPH_OPTIONAL_SOURCES}
+ LINK_LIBS ${BOOST_GRAPH_OPTIONAL_LIBRARIES}
+ SHARED_COMPILE_FLAGS "-DBOOST_GRAPH_DYN_LINK=1"
+ )
Added: branches/CMake/Boost_1_35_0/libs/graph/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/graph/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,61 @@
+boost_test_run(transitive_closure_test)
+boost_test_compile(adj_list_cc)
+boost_test_run(adj_list_edge_list_set)
+boost_test_compile(adj_matrix_cc)
+boost_test_run(bfs)
+boost_test_compile(bfs_cc)
+boost_test_run(bellman-test)
+boost_test_run(betweenness_centrality_test RELEASE)
+boost_test_run(csr_graph_test)
+boost_test_run(dag_longest_paths)
+boost_test_run(dfs)
+boost_test_compile(dfs_cc)
+boost_test_compile(dijkstra_cc)
+boost_test_run(dijkstra_heap_performance ARGS 10000 RELEASE)
+boost_test_run(dominator_tree_test)
+boost_test_run(relaxed_heap_test ARGS 5000 15000)
+boost_test_compile(edge_list_cc)
+boost_test_compile(filtered_graph_cc)
+boost_test_run(graph)
+boost_test_compile(graph_concepts)
+boost_test_run(graphviz_test
+ DEPENDS boost_test_exec_monitor boost_graph STATIC)
+boost_test_run(gursoy_atun_layout_test)
+boost_test_run(layout_test)
+boost_test_run(serialize DEPENDS boost_serialization)
+boost_test_compile(reverse_graph_cc)
+boost_test_run(sequential_vertex_coloring)
+boost_test_run(subgraph)
+boost_test_run(isomorphism)
+boost_test_run(adjacency_matrix_test)
+boost_test_compile(vector_graph_cc)
+boost_test_compile(copy)
+boost_test_compile(property_iter)
+boost_test_run(bundled_properties)
+boost_test_run(floyd_warshall_test)
+boost_test_run(astar_search_test)
+boost_test_run(biconnected_components_test)
+boost_test_run(cuthill_mckee_ordering)
+boost_test_run(king_ordering)
+boost_test_run(matching_test)
+# boost_test_run(max_flow_test)
+# boost_test_run(kolmogorov_max_flow_test) TODO: Boost 1.34.x only
+
+# GraphML Tests - not for Boost 1.34.x
+#include(FindEXPAT)
+#if (EXPAT_FOUND)
+# include_directories(${EXPAT_INCLUDE_DIRS})
+# boost_test_run(graphml_test LIBRARIES boost_graph)
+#endif (EXPAT_FOUND)
+
+# Stanford GraphBase Tests
+if ($ENV{SDB})
+ include_directories("$ENV{SDB}")
+ boost_test_compile(stanford_graph_cc)
+endif ($ENV{SDB})
+
+# LEDA tests
+if ($ENV{LEDA})
+ include_directories("$ENV{LEDA}/incl")
+ boost_test_compile(leda_graph_cc)
+endif ($ENV{LEDA})
Added: branches/CMake/Boost_1_35_0/libs/integer/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/integer/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Integer
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/integer/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/integer/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_test_run(cstdint_test ../cstdint_test.cpp)
+boost_test_run(integer_test ../integer_test.cpp)
+boost_test_run(integer_traits_test ../integer_traits_test.cpp
+ DEPENDS boost_test_exec_monitor)
Added: branches/CMake/Boost_1_35_0/libs/io/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/io/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_library_project(IO
+ TESTDIRS test)
Added: branches/CMake/Boost_1_35_0/libs/io/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/io/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,3 @@
+boost_test_run(ios_state_unit_test DEPENDS boost_unit_test_framework)
+boost_test_run(ios_state_test DEPENDS boost_test_exec_monitor)
+
Added: branches/CMake/Boost_1_35_0/libs/iostreams/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/iostreams/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ IOStreams
+ SRCDIRS src
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/iostreams/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/iostreams/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,32 @@
+set(BOOST_IOSTREAMS_EXTRA_SOURCES)
+set(BOOST_IOSTREAMS_LIBRARIES)
+
+# Find zlib. If it's available, include it in the iostreams build
+set(ZLIB_FIND_QUIETLY TRUE)
+include(FindZLIB)
+if (ZLIB_FOUND)
+ include_directories(${ZLIB_INCLUDE_DIR})
+ set(BOOST_IOSTREAMS_EXTRA_SOURCES
+ ${BOOST_IOSTREAMS_EXTRA_SOURCES} zlib.cpp)
+ set(BOOST_IOSTREAMS_LIBRARIES
+ ${BOOST_IOSTREAMS_LIBRARIES} ${ZLIB_LIBRARIES})
+endif(ZLIB_FOUND)
+
+# Find bzip2. If it's available, include it in the iostreams build
+set(BZip2_FIND_QUIETLY TRUE)
+include(FindBZip2)
+if (BZIP2_FOUND)
+ include_directories(${BZIP2_INCLUDE_DIR})
+ add_definitions(${BZIP2_DEFINITIONS})
+ set(BOOST_IOSTREAMS_EXTRA_SOURCES
+ ${BOOST_IOSTREAMS_EXTRA_SOURCES} bzip2.cpp)
+ set(BOOST_IOSTREAMS_LIBRARIES
+ ${BOOST_IOSTREAMS_LIBRARIES} ${BZIP2_LIBRARIES})
+
+ # NOTE: What to do about BZIP2_NEED_PREFIX?
+endif(BZIP2_FOUND)
+
+boost_add_library(boost_iostreams
+ file_descriptor.cpp mapped_file.cpp ${BOOST_IOSTREAMS_EXTRA_SOURCES}
+ LINK_LIBS "${BOOST_IOSTREAMS_LIBRARIES}"
+ SHARED_COMPILE_FLAGS "-DBOOST_IOSTREAMS_DYN_LINK=1")
Added: branches/CMake/Boost_1_35_0/libs/iostreams/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/iostreams/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,65 @@
+# Helper macro to create tests for the iostreams library
+macro(iostreams_test TESTNAME)
+ boost_test_run(${TESTNAME}
+ ${ARGN}
+ DEPENDS boost_unit_test_framework
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+endmacro(iostreams_test)
+
+iostreams_test(array_test)
+iostreams_test(auto_close_test)
+iostreams_test(buffer_size_test)
+iostreams_test(code_converter_test
+ code_converter_test.cpp detail/utf8_codecvt_facet.cpp)
+iostreams_test(compose_test)
+iostreams_test(component_access_test)
+iostreams_test(copy_test)
+iostreams_test(counter_test)
+iostreams_test(direct_adapter_test)
+iostreams_test(example_test)
+iostreams_test(file_test)
+boost_test_run(file_descriptor_test
+ DEPENDS boost_unit_test_framework boost_iostreams
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+iostreams_test(filtering_stream_test)
+iostreams_test(finite_state_filter_test)
+iostreams_test(flush_test)
+iostreams_test(invert_test)
+iostreams_test(line_filter_test)
+boost_test_run(mapped_file_test
+ DEPENDS boost_unit_test_framework boost_iostreams
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+iostreams_test(newline_test)
+iostreams_test(null_test)
+iostreams_test(pipeline_test)
+boost_test_run(regex_filter_test
+ DEPENDS boost_unit_test_framework boost_regex
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+iostreams_test(restrict_test)
+iostreams_test(seekable_file_test)
+iostreams_test(seekable_filter_test)
+iostreams_test(stdio_filter_test)
+iostreams_test(symmetric_filter_test)
+iostreams_test(tee_test)
+iostreams_test(wide_stream_test)
+
+# Find zlib. If it's available, test it
+set(ZLIB_FIND_QUIETLY TRUE)
+include(FindZLIB)
+if (ZLIB_FOUND)
+ boost_test_run(gzip_test
+ DEPENDS boost_unit_test_framework boost_iostreams
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+ boost_test_run(zlib_test
+ DEPENDS boost_unit_test_framework boost_iostreams
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+endif(ZLIB_FOUND)
+
+# Find BZip2. If it's available, test it
+set(BZip2_FIND_QUIETLY TRUE)
+include(FindBZip2)
+if (BZIP2_FOUND)
+ boost_test_run(bzip2_test
+ DEPENDS boost_unit_test_framework boost_iostreams
+ COMPILE_FLAGS "-DBOOST_IOSTREAMS_NO_LIB")
+endif(BZIP2_FOUND)
Added: branches/CMake/Boost_1_35_0/libs/iterator/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/iterator/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Iterator
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/iterator/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/iterator/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,31 @@
+# These first two tests will run last, and are expected to fail
+# for many less-capable compilers.
+
+boost_test_compile_fail(interoperable_fail)
+# test uses expected success, so that we catch unrelated
+# compilation problems.
+boost_test_run(is_convertible_fail)
+boost_test_run(zip_iterator_test)
+
+# These tests should work for just about everything.
+boost_test_compile(is_lvalue_iterator)
+boost_test_compile(is_readable_iterator)
+boost_test_compile(pointee)
+
+boost_test_run(unit_tests)
+boost_test_run(concept_tests)
+boost_test_run(iterator_adaptor_cc)
+boost_test_run(iterator_adaptor_test)
+boost_test_compile(iterator_archetype_cc)
+boost_test_compile_fail(iter_archetype_default_ctor)
+boost_test_compile_fail(lvalue_concept_fail)
+boost_test_run(transform_iterator_test)
+boost_test_run(indirect_iterator_test)
+boost_test_compile(indirect_iter_member_types)
+boost_test_run(filter_iterator_test)
+boost_test_run(iterator_facade)
+boost_test_run(reverse_iterator_test)
+boost_test_run(counting_iterator_test)
+boost_test_run(interoperable)
+boost_test_run(iterator_traits_test)
+boost_test_run(permutation_iterator_test)
Added: branches/CMake/Boost_1_35_0/libs/lambda/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/lambda/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Lambda
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/lambda/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/lambda/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,16 @@
+boost_test_run(algorithm_test DEPENDS boost_test_exec_monitor)
+boost_test_run(bind_tests_simple DEPENDS boost_test_exec_monitor)
+boost_test_run(bind_tests_advanced DEPENDS boost_test_exec_monitor)
+boost_test_run(bind_tests_simple_f_refs DEPENDS boost_test_exec_monitor)
+boost_test_run(bll_and_function DEPENDS boost_test_exec_monitor)
+boost_test_run(lambda_cast_test
+ cast_test.cpp DEPENDS boost_test_exec_monitor)
+boost_test_run(constructor_tests DEPENDS boost_test_exec_monitor)
+boost_test_run(control_structures DEPENDS boost_test_exec_monitor)
+boost_test_run(exception_test DEPENDS boost_test_exec_monitor)
+boost_test_run(extending_rt_traits DEPENDS boost_test_exec_monitor)
+boost_test_run(is_instance_of_test DEPENDS boost_test_exec_monitor)
+boost_test_run(member_pointer_test DEPENDS boost_test_exec_monitor)
+boost_test_run(operator_tests_simple DEPENDS boost_test_exec_monitor)
+boost_test_run(phoenix_control_structures DEPENDS boost_test_exec_monitor)
+boost_test_run(switch_construct DEPENDS boost_test_exec_monitor)
Added: branches/CMake/Boost_1_35_0/libs/logic/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/logic/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Logic
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/logic/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/logic/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,3 @@
+boost_test_run(tribool_test)
+boost_test_run(tribool_rename_test)
+boost_test_run(tribool_io_test)
Added: branches/CMake/Boost_1_35_0/libs/math/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/math/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Math
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/math/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/math/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,18 @@
+boost_test_run(common_factor_test DEPENDS boost_unit_test_framework)
+boost_test_run(octonion_test
+ ../octonion/octonion_test.cpp
+ DEPENDS boost_unit_test_framework)
+boost_test_run(quaternion_test
+ ../quaternion/quaternion_test.cpp
+ DEPENDS boost_unit_test_framework)
+boost_test_run(special_functions_test
+ ../special_functions/special_functions_test.cpp
+ DEPENDS boost_unit_test_framework)
+boost_test_run(quaternion_multi_incl_test
+ ../quaternion/quaternion_mult_incl_test.cpp
+ ../quaternion/quaternion_mi1.cpp
+ ../quaternion/quaternion_mi2.cpp
+ DEPENDS boost_unit_test_framework)
+boost_test_run(complex_test)
+boost_test_run(hypot_test)
+boost_test_run(log1p_expm1_test DEPENDS boost_regex)
Added: branches/CMake/Boost_1_35_0/libs/mpi/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/mpi/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,10 @@
+include(FindMPI)
+
+if (MPI_FOUND)
+ boost_library_project(
+ MPI
+ SRCDIRS src
+ TESTDIRS test
+ )
+endif(MPI_FOUND)
+
Added: branches/CMake/Boost_1_35_0/libs/mpi/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/mpi/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,29 @@
+add_definitions(-DBOOST_MPI_SOURCE=1)
+include_directories(${MPI_INCLUDE_PATH})
+
+boost_add_library(
+ boost_mpi
+ broadcast.cpp
+ communicator.cpp
+ computation_tree.cpp
+ content_oarchive.cpp
+ environment.cpp
+ exception.cpp
+ graph_communicator.cpp
+ group.cpp
+ intercommunicator.cpp
+ mpi_datatype_cache.cpp
+ mpi_datatype_oarchive.cpp
+ packed_iarchive.cpp
+ packed_oarchive.cpp
+ packed_skeleton_iarchive.cpp
+ packed_skeleton_oarchive.cpp
+ point_to_point.cpp
+ request.cpp
+ text_skeleton_oarchive.cpp
+ DEPENDS boost_serialization
+ COMPILE_FLAGS "${MPI_COMPILE_FLAGS}"
+ LINK_FLAGS "${MPI_LINK_FLAGS}"
+ LINK_LIBS ${MPI_LIBRARIES}
+ SHARED_COMPILE_FLAGS "-DBOOST_MPI_DYN_LINK=1"
+ )
Added: branches/CMake/Boost_1_35_0/libs/mpi/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/mpi/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,63 @@
+include_directories(${MPI_INCLUDE_PATH})
+
+# Declare a test for the Boost.MPI library, which may involve both
+# building the test and executing it with varying numbers of
+# processes.
+#
+# boost_mpi_test(testname
+# [source1 source2 ...]
+# [ARGS arg1 arg2 ...]
+# [SCHEDULE procs1 procs2 ...]
+#
+# testname is the name of the test. source1, source2, etc. are the
+# source files that will be built and linked into the test
+# executable. If no source files are provided, the file "testname.cpp"
+# will be used instead.
+macro(boost_mpi_test testname)
+ PARSE_ARGUMENTS(MPI_TEST "SCHEDULE;ARGS" "" ${ARGN})
+
+ # Determine the test sources
+ if (MPI_TEST_DEFAULT_ARGS)
+ set(MPI_TEST_SOURCES ${MPI_TEST_DEFAULT_ARGS})
+ else (MPI_TEST_DEFAULT_ARGS)
+ set(MPI_TEST_SOURCES "${testname}.cpp")
+ endif (MPI_TEST_DEFAULT_ARGS)
+
+ # Build the test executable
+ boost_add_executable(${testname}
+ ${MPI_TEST_SOURCES}
+ OUTPUT_NAME tests/${PROJECT_NAME}/${testname}
+ NO_INSTALL
+ DEPENDS boost_mpi
+ COMPILE_FLAGS "${MPI_COMPILE_FLAGS}"
+ LINK_FLAGS "${MPI_LINK_FLAGS}"
+ LINK_LIBS ${MPI_LIBRARIES}
+ SHARED_COMPILE_FLAGS "-DBOOST_MPI_DYN_LINK=1")
+ if (THIS_EXE_OKAY)
+ if (NOT MPI_TEST_SCHEDULE)
+ set(MPI_TEST_SCHEDULE 1 2 3 4 7 8 13 17)
+ endif (NOT MPI_TEST_SCHEDULE)
+
+ foreach(PROCS ${MPI_TEST_SCHEDULE})
+ add_test("${PROJECT_NAME}::${testname}-${PROCS}"
+ ${MPIEXEC}
+ -n ${PROCS}
+ ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/tests/${PROJECT_NAME}/${testname}
+ ${BOOST_TEST_ARGS}
+ )
+ endforeach(PROCS)
+ endif (THIS_EXE_OKAY)
+endmacro(boost_mpi_test)
+
+boost_mpi_test(all_gather_test)
+boost_mpi_test(all_reduce_test)
+boost_mpi_test(all_to_all_test)
+boost_mpi_test(broadcast_test SCHEDULE 2 17)
+boost_mpi_test(graph_topology_test SCHEDULE 2 7 13)
+boost_mpi_test(is_mpi_op_test SCHEDULE 1)
+boost_mpi_test(nonblocking_test)
+boost_mpi_test(reduce_test)
+boost_mpi_test(ring_test SCHEDULE 2 3 4 7 8 13 17)
+boost_mpi_test(scan_test)
+boost_mpi_test(scatter_test)
+boost_mpi_test(skeleton_content_test SCHEDULE 2 3 4 7 8 13 17)
Added: branches/CMake/Boost_1_35_0/libs/mpl/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/mpl/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Metaprogramming
+ TESTDIRS test
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/mpl/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/mpl/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,89 @@
+boost_test_compile(largest_int aux_/largest_int.cpp)
+boost_test_compile(msvc_is_class aux_/msvc_is_class.cpp)
+boost_test_compile(template_arity aux_/template_arity.cpp)
+
+boost_test_compile(advance)
+boost_test_compile(always)
+boost_test_compile(apply)
+boost_test_compile(apply_wrap)
+boost_test_compile(arithmetic)
+boost_test_compile(as_sequence)
+boost_test_compile(assert)
+boost_test_compile(at)
+boost_test_compile(back)
+boost_test_compile(bind)
+boost_test_compile(bitwise)
+boost_test_run(bool)
+boost_test_compile(comparison)
+boost_test_compile(contains)
+boost_test_compile(copy)
+boost_test_compile(copy_if)
+boost_test_compile(count)
+boost_test_compile(count_if)
+boost_test_compile(deque)
+boost_test_compile(distance)
+boost_test_compile(empty)
+boost_test_compile(equal)
+boost_test_compile(erase)
+boost_test_compile(erase_range)
+boost_test_compile(eval_if)
+boost_test_compile(filter_view)
+boost_test_compile(find)
+boost_test_compile(find_if)
+boost_test_compile(fold)
+boost_test_run(for_each)
+boost_test_compile(front)
+boost_test_compile(has_xxx)
+boost_test_compile(identity)
+boost_test_compile(if)
+boost_test_compile(index_of)
+boost_test_compile(inherit)
+boost_test_compile(insert)
+boost_test_compile(insert_range)
+boost_test_run(int)
+boost_test_run(integral_c)
+boost_test_compile(is_placeholder)
+boost_test_compile(is_sequence)
+boost_test_compile(iterator_tags)
+boost_test_compile(joint_view)
+boost_test_compile(lambda)
+boost_test_compile(lambda_args)
+boost_test_compile(list)
+boost_test_compile(list_c)
+boost_test_compile(logical)
+boost_test_compile(lower_bound)
+boost_test_compile(map)
+boost_test_compile(max_element)
+boost_test_compile(min_max)
+boost_test_compile(multiset)
+boost_test_compile(next)
+boost_test_compile(no_has_xxx)
+boost_test_compile(numeric_ops)
+boost_test_compile(pair_view)
+boost_test_compile(partition)
+boost_test_compile(pop_front)
+boost_test_compile(push_front)
+boost_test_compile(quote)
+boost_test_compile(range_c)
+boost_test_compile(remove)
+boost_test_compile(remove_if)
+boost_test_compile(replace)
+boost_test_compile(replace_if)
+boost_test_compile(reverse)
+boost_test_compile(same_as)
+boost_test_compile(set)
+boost_test_compile(set_c)
+boost_test_compile(single_view)
+boost_test_compile(size)
+boost_test_run(size_t)
+boost_test_compile(sizeof)
+boost_test_compile(sort)
+boost_test_compile(stable_partition)
+boost_test_compile(transform)
+boost_test_compile(transform_view)
+boost_test_compile(unique)
+boost_test_compile(unpack_args)
+boost_test_compile(upper_bound)
+boost_test_compile(vector)
+boost_test_compile(vector_c)
+boost_test_compile(zip_view)
Added: branches/CMake/Boost_1_35_0/libs/multi_array/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/multi_array/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ MultiArray
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/multi_array/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/multi_array/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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 DEPENDS boost_test_exec_monitor)
+boost_test_run(access DEPENDS boost_test_exec_monitor)
+boost_test_run(compare DEPENDS boost_test_exec_monitor)
+boost_test_run(iterators DEPENDS boost_test_exec_monitor)
+boost_test_run(slice DEPENDS boost_test_exec_monitor)
+boost_test_run(assign DEPENDS boost_test_exec_monitor)
+boost_test_run(assign_to_array DEPENDS boost_test_exec_monitor)
+boost_test_run(index_bases DEPENDS boost_test_exec_monitor)
+boost_test_run(storage_order DEPENDS boost_test_exec_monitor)
+boost_test_run(reshape DEPENDS boost_test_exec_monitor)
+boost_test_run(range1 DEPENDS boost_test_exec_monitor)
+boost_test_run(idxgen1 DEPENDS boost_test_exec_monitor)
+boost_test_run(stl_interaction DEPENDS boost_test_exec_monitor)
+boost_test_run(resize DEPENDS boost_test_exec_monitor)
+boost_test_compile(concept_checks)
Added: branches/CMake/Boost_1_35_0/libs/multi_index/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/multi_index/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ MultiIndex
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/multi_index/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/multi_index/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,25 @@
+boost_test_run(test_basic test_basic.cpp test_basic_main.cpp)
+boost_test_run(test_capacity test_capacity.cpp test_capacity_main.cpp)
+boost_test_run(test_comparison test_comparison.cpp test_comparison_main.cpp)
+boost_test_run(test_composite_key test_composite_key.cpp test_composite_key_main.cpp)
+boost_test_run(test_conv_iterators test_conv_iterators.cpp test_conv_iterators_main.cpp)
+boost_test_run(test_copy_assignment test_copy_assignment.cpp test_copy_assignment_main.cpp)
+boost_test_run(test_hash_ops test_hash_ops.cpp test_hash_ops_main.cpp)
+boost_test_run(test_iterators test_iterators.cpp test_iterators_main.cpp)
+boost_test_run(test_key_extractors test_key_extractors.cpp test_key_extractors_main.cpp)
+boost_test_run(test_list_ops test_list_ops.cpp test_list_ops_main.cpp)
+boost_test_run(test_modifiers test_modifiers.cpp test_modifiers_main.cpp)
+boost_test_run(test_mpl_ops test_mpl_ops.cpp test_mpl_ops_main.cpp)
+boost_test_run(test_observers test_observers.cpp test_observers_main.cpp)
+boost_test_run(test_projection test_projection.cpp test_projection_main.cpp)
+boost_test_run(test_range test_range.cpp test_range_main.cpp)
+boost_test_run(test_rearrange test_rearrange.cpp test_rearrange_main.cpp)
+boost_test_run(test_safe_mode test_safe_mode.cpp test_safe_mode_main.cpp)
+boost_test_run(test_serialization
+ test_serialization.cpp test_serialization1.cpp
+ test_serialization2.cpp test_serialization3.cpp
+ test_serialization_main.cpp
+ DEPENDS boost_serialization)
+boost_test_run(test_set_ops test_set_ops.cpp test_set_ops_main.cpp)
+boost_test_run(test_special_set_ops test_special_set_ops.cpp test_special_set_ops_main.cpp)
+boost_test_run(test_update test_update.cpp test_update_main.cpp)
Added: branches/CMake/Boost_1_35_0/libs/numeric/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/numeric/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Numeric
+ TESTDIRS conversion/test interval/test ublas/test
+ )
Added: branches/CMake/Boost_1_35_0/libs/numeric/conversion/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/numeric/conversion/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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_conv_cast_test numeric_cast_test.cpp)
+boost_test_run(udt_example_0)
Added: branches/CMake/Boost_1_35_0/libs/numeric/interval/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/numeric/interval/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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 DEPENDS boost_test_exec_monitor)
+boost_test_run(cmp_exn DEPENDS boost_test_exec_monitor)
+boost_test_run(cmp_exp DEPENDS boost_test_exec_monitor)
+boost_test_run(cmp_lex DEPENDS boost_test_exec_monitor)
+boost_test_run(cmp_set DEPENDS boost_test_exec_monitor)
+boost_test_run(cmp_tribool DEPENDS boost_test_exec_monitor)
+boost_test_run(test_float DEPENDS boost_test_exec_monitor)
Added: branches/CMake/Boost_1_35_0/libs/numeric/ublas/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/numeric/ublas/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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(ublas_test1
+ test1.cpp test11.cpp test12.cpp test13.cpp
+ COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(ublas_test2
+ test2.cpp test21.cpp test22.cpp test23.cpp
+ COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(ublas_test3
+ test3.cpp test31.cpp test32.cpp test33.cpp
+ COMPILE_FLAGS "${UBLAS_TESTSET_SPARSE_DEFINES}")
+
+boost_test_run(ublas_test4
+ test4.cpp test42.cpp test43.cpp
+ COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(ublas_test5
+ test5.cpp test52.cpp test53.cpp
+ COMPILE_FLAGS "${UBLAS_TESTSET_DEFINES}")
+
+boost_test_run(ublas_test6
+ 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
+# 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")
Added: branches/CMake/Boost_1_35_0/libs/optional/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/optional/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Optional
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/optional/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/optional/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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: branches/CMake/Boost_1_35_0/libs/parameter/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/parameter/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Parameter
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/parameter/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/parameter/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -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: branches/CMake/Boost_1_35_0/libs/pool/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/pool/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Pool
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/pool/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/pool/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1 @@
+boost_test_run(test_pool_alloc DEPENDS boost_test_exec_monitor)
Added: branches/CMake/Boost_1_35_0/libs/preprocessor/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/preprocessor/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Preprocessor
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/preprocessor/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/preprocessor/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,14 @@
+boost_test_compile(arithmetic)
+boost_test_compile(array)
+boost_test_compile(comparison)
+boost_test_compile(control)
+boost_test_compile(debug)
+boost_test_compile(facilities)
+boost_test_compile(iteration)
+boost_test_compile(list)
+boost_test_compile(logical)
+boost_test_compile(repetition)
+boost_test_compile(selection)
+boost_test_compile(seq)
+boost_test_compile(slot)
+boost_test_compile(tuple)
Added: branches/CMake/Boost_1_35_0/libs/program_options/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/program_options/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Program_Options
+ SRCDIRS src
+ TESTDIRS test
+ MODULAR
+ )
Added: branches/CMake/Boost_1_35_0/libs/program_options/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/program_options/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_add_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")
Added: branches/CMake/Boost_1_35_0/libs/program_options/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/program_options/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,19 @@
+set(PROGRAM_OPTIONS_LIBRARIES
+ boost_program_options
+ boost_test_exec_monitor)
+
+macro(program_options_test_run TESTNAME)
+ boost_test_run(${TESTNAME}
+ DEPENDS boost_program_options boost_test_exec_monitor STATIC)
+ boost_test_run("${TESTNAME}_dll"
+ "${TESTNAME}.cpp"
+ DEPENDS boost_program_options boost_test_exec_monitor-static SHARED)
+endmacro(program_options_test_run)
+
+program_options_test_run(options_description_test)
+program_options_test_run(parsers_test)
+program_options_test_run(variable_map_test)
+program_options_test_run(cmdline_test)
+program_options_test_run(positional_options_test)
+program_options_test_run(unicode_test)
+program_options_test_run(winmain)
Added: branches/CMake/Boost_1_35_0/libs/property_map/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/property_map/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Property_Map
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/property_map/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/property_map/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_test_compile(property_map_cc)
+boost_test_run(dynamic_properties_test)
Added: branches/CMake/Boost_1_35_0/libs/ptr_container/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/ptr_container/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Pointer_Containers
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/ptr_container/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/ptr_container/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,14 @@
+boost_test_run(ptr_vector DEPENDS boost_unit_test_framework)
+boost_test_run(ptr_list DEPENDS boost_unit_test_framework)
+boost_test_run(ptr_deque DEPENDS boost_unit_test_framework)
+boost_test_run(ptr_set DEPENDS boost_unit_test_framework)
+boost_test_run(ptr_map DEPENDS boost_unit_test_framework)
+boost_test_run(ptr_array DEPENDS boost_unit_test_framework)
+boost_test_run(tree_test DEPENDS boost_unit_test_framework)
+boost_test_run(incomplete_type_test DEPENDS boost_unit_test_framework)
+boost_test_run(view_example DEPENDS boost_unit_test_framework)
+boost_test_run(iterator_test DEPENDS boost_unit_test_framework)
+boost_test_run(tut1 DEPENDS boost_unit_test_framework)
+boost_test_run(indirect_fun DEPENDS boost_unit_test_framework)
+boost_test_run(serialization DEPENDS boost_unit_test_framework boost_serialization)
+boost_test_run(no_exceptions DEPENDS boost_unit_test_framework)
Added: branches/CMake/Boost_1_35_0/libs/python/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/python/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,66 @@
+include(FindPythonInterp)
+message(STATUS " found python executable ${PYTHON_EXECUTABLE}")
+include(FindPythonLibs)
+message(STATUS " found python includes ${PYTHON_INCLUDE_PATH}")
+message(STATUS " found python libs ${PYTHON_LIBRARIES}")
+
+if (PYTHON_LIBRARIES)
+ include_directories(${PYTHON_INCLUDE_PATH})
+
+ # Determine extra libraries we need to link against to build Python
+ # extension modules.
+ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "dl")
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "rt")
+ endif(CMAKE_COMPILER_IS_GNUCXX)
+ elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSD")
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "pthread")
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "DragonFly")
+ # DragonFly is a variant of FreeBSD
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "pthread")
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "OSF")
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "pthread" "dl")
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "rt")
+ endif(CMAKE_COMPILER_IS_GNUCXX)
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "QNX")
+ # No options necessary for QNX
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+ # No options necessary for Mac OS X
+ elseif(CMAKE_SYSTEM_NAME STREQUAL "HP-UX")
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "rt")
+ elseif(UNIX)
+ # Assume -pthread and -ldl on all other variants
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "pthread" "dl")
+ if(CMAKE_COMPILER_IS_GNUCXX)
+ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} "util")
+ endif(CMAKE_COMPILER_IS_GNUCXX)
+ endif(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
+
+ # Macro for building Boost.Python extension modules
+ macro(boost_python_extension MODULE_NAME)
+ parse_arguments(BPL_EXT
+ ""
+ ""
+ ${ARGN})
+
+ # Create the library target itself
+ add_library(${MODULE_NAME} MODULE ${BPL_EXT_DEFAULT_ARGS} )
+
+ # Miscellaneous target properties
+ set_target_properties(${MODULE_NAME} PROPERTIES PREFIX "")
+
+ # Link against Boost.Python library
+ target_link_libraries(${MODULE_NAME} boost_python-shared)
+
+ # Link against Python libraries
+ target_link_libraries(${MODULE_NAME} ${PYTHON_LIBRARIES})
+ endmacro(boost_python_extension)
+
+ boost_library_project(
+ Python
+ SRCDIRS src
+ TESTDIRS test
+ )
+endif (PYTHON_LIBRARIES)
Added: branches/CMake/Boost_1_35_0/libs/python/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/python/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,64 @@
+if (PYTHON_DEBUG_LIBRARIES AND BUILD_BOOST_PYTHON)
+ # We have detected that there might be Python debug libraries
+ # available, but check for ourselves whether this is true by trying
+ # to compile/link a program against them.
+ set(CMAKE_REQUIRED_DEFINITIONS "-DBOOST_DEBUG_PYTHON -DPy_DEBUG")
+ get_directory_property(CMAKE_REQUIRED_INCLUDES INCLUDE_DIRECTORIES)
+ set(CMAKE_REQUIRED_LIBRARIES ${PYTHON_DEBUG_LIBRARIES})
+ set(CHECK_PYDEBUG_SOURCE
+ "#include <boost/python/object.hpp>")
+ check_cxx_source_compiles(
+ "#include <boost/python/object.hpp>
+ void check(PyObject *obj) { Py_INCREF(obj); } int main() { }"
+ PYDEBUG_CAN_BUILD)
+
+ # Setup an option to enable/disable building variants with Python
+ # debugging. If we were able to link against the debug libraries,
+ # default to ON; otherwise, default to OFF.
+ option(BUILD_PYTHON_DEBUG
+ "Build an additional Boost.Python library with Python debugging enabled"
+ ${PYDEBUG_CAN_BUILD})
+endif (PYTHON_DEBUG_LIBRARIES AND BUILD_BOOST_PYTHON)
+
+# Always build the non-debug variants of the boost_python library
+set(BUILD_PYTHON_NODEBUG ON)
+
+boost_add_library(boost_python
+ numeric.cpp
+ list.cpp
+ long.cpp
+ dict.cpp
+ tuple.cpp
+ str.cpp
+ slice.cpp
+ converter/from_python.cpp
+ converter/registry.cpp
+ converter/type_id.cpp
+ object/enum.cpp
+ object/class.cpp
+ object/function.cpp
+ object/inheritance.cpp
+ object/life_support.cpp
+ object/pickle_support.cpp
+ errors.cpp
+ module.cpp
+ converter/builtin_converters.cpp
+ converter/arg_to_python_base.cpp
+ object/iterator.cpp
+ object/stl_iterator.cpp
+ object_protocol.cpp
+ object_operators.cpp
+ wrapper.cpp
+ import.cpp
+ exec.cpp
+ object/function_doc_signature.cpp
+
+ STATIC_COMPILE_FLAGS "-DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB"
+ SHARED_COMPILE_FLAGS "-DBOOST_PYTHON_SOURCE"
+ PYTHON_NODEBUG_LINK_LIBS "${PYTHON_LIBRARIES}"
+
+ # Support for Python debugging
+ EXTRA_VARIANTS PYTHON_NODEBUG:PYTHON_DEBUG
+ PYTHON_DEBUG_COMPILE_FLAGS "-DBOOST_DEBUG_PYTHON -DPy_DEBUG"
+ PYTHON_DEBUG_LINK_LIBS "${PYTHON_DEBUG_LIBRARIES}"
+ )
Added: branches/CMake/Boost_1_35_0/libs/python/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/python/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,194 @@
+macro(bpl_test TESTNAME)
+ parse_arguments(BPL_TEST
+ "ARGS"
+ ""
+ ${ARGN})
+
+ # Determine the Python and C++ source files for this test
+ if (BPL_TEST_DEFAULT_ARGS)
+ # First argument is the Python source we will run, the rest are
+ # either extra Python sources we're dependent on or C++ files from
+ # which we will build extension modules.
+ car(BPL_TEST_PYSOURCE ${BPL_TEST_DEFAULT_ARGS})
+ cdr(BPL_TEST_DEFAULT_ARGS ${BPL_TEST_DEFAULT_ARGS})
+
+ get_filename_component(BPL_TEST_PYBASE ${BPL_TEST_PYSOURCE} NAME_WE)
+ foreach(SRC ${BPL_TEST_DEFAULT_ARGS})
+ get_filename_component(BPL_SRC_EXT ${SRC} EXT)
+ if (BPL_SRC_EXT STREQUAL ".cpp")
+ # Build a Python extension module from this source file
+ get_filename_component(BPL_SRC_NAME ${SRC} NAME_WE)
+ if(BPL_TEST_PYBASE STREQUAL "${BPL_SRC_NAME}")
+ boost_python_extension(${BPL_SRC_NAME}_ext ${SRC})
+ else(BPL_TEST_PYBASE STREQUAL "${BPL_SRC_NAME}")
+ boost_python_extension(${BPL_SRC_NAME} ${SRC})
+ endif(BPL_TEST_PYBASE STREQUAL "${BPL_SRC_NAME}")
+ endif (BPL_SRC_EXT STREQUAL ".cpp")
+ endforeach(SRC ${BPL_TEST_DEFAULT_ARGS})
+ else (BPL_TEST_DEFAULT_ARGS)
+ set(BPL_TEST_PYSOURCE "${TESTNAME}.py")
+
+ # Build a Python extension module from this source file
+ boost_python_extension(${TESTNAME}_ext "${TESTNAME}.cpp")
+ endif(BPL_TEST_DEFAULT_ARGS)
+
+ # We'll need the full patch to run the Python test
+ set(BPL_TEST_PYSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${BPL_TEST_PYSOURCE})
+
+ # Run the test itself
+ file(TO_NATIVE_PATH "${LIBRARY_OUTPUT_PATH}" PYTHONPATH)
+ if(WIN32 AND NOT UNIX)
+ string(REPLACE "\\" "\\\\" PYTHONPATH "${PYTHONPATH}")
+ endif(WIN32 AND NOT UNIX)
+ add_test("${PROJECT_NAME}::${TESTNAME}"
+ ${PYTHON_EXECUTABLE}
+ "${CMAKE_CURRENT_SOURCE_DIR}/pyrun.py"
+ "${PYTHONPATH}"
+ ${BPL_TEST_PYSOURCE} ${BPL_TEST_ARGS})
+endmacro(bpl_test)
+
+macro(py_run TESTNAME)
+ boost_test_run(${TESTNAME}
+ ${TESTNAME}.cpp
+ DEPENDS boost_python STATIC
+ LINK_LIBS ${PYTHON_LIBRARIES})
+endmacro(py_run)
+
+boost_test_run(exec
+ DEPENDS boost_python STATIC
+ ARGS "${CMAKE_CURRENT_SOURCE_DIR}/exec.py"
+ LINK_LIBS ${PYTHON_LIBRARIES})
+boost_test_run(exec-dynamic
+ exec.cpp
+ ARGS "${CMAKE_CURRENT_SOURCE_DIR}/exec.py"
+ DEPENDS boost_python SHARED
+ LINK_LIBS ${PYTHON_LIBRARIES})
+
+bpl_test(crossmod_exception
+ crossmod_exception.py crossmod_exception_a.cpp crossmod_exception_b.cpp)
+
+bpl_test(injected)
+bpl_test(properties)
+bpl_test(return_arg)
+bpl_test(staticmethod)
+bpl_test(shared_ptr)
+bpl_test(andreas_beyer)
+bpl_test(polymorphism)
+bpl_test(polymorphism2)
+
+bpl_test(wrapper_held_type)
+bpl_test(polymorphism2_auto_ptr)
+
+bpl_test(auto_ptr)
+
+bpl_test(minimal)
+bpl_test(args)
+bpl_test(raw_ctor)
+bpl_test(numpy numpy.py printer.py numeric_tests.py numarray_tests.py numpy.cpp)
+bpl_test(enum)
+bpl_test(exception_translator)
+bpl_test(pearu1 test_cltree.py cltree.cpp)
+bpl_test(try newtest.py m1.cpp m2.cpp)
+bpl_test(const_argument)
+bpl_test(keywords keywords_test.py keywords.cpp)
+
+boost_python_extension(builtin_converters_ext test_builtin_converters.cpp)
+bpl_test(builtin_converters test_builtin_converters.py builtin_converters_ext)
+
+bpl_test(test_pointer_adoption)
+bpl_test(operators)
+bpl_test(callbacks)
+bpl_test(defaults)
+
+bpl_test(object)
+bpl_test(list)
+bpl_test(long)
+bpl_test(dict)
+bpl_test(tuple)
+bpl_test(str)
+bpl_test(slice)
+
+bpl_test(virtual_functions)
+bpl_test(back_reference)
+bpl_test(implicit)
+bpl_test(data_members)
+
+bpl_test(ben_scott1)
+
+bpl_test(bienstman1)
+bpl_test(bienstman2)
+bpl_test(bienstman3)
+
+bpl_test(multi_arg_constructor)
+# TODO: A bug in the Win32 intel compilers causes compilation of one
+# of our tests to take forever when debug symbols are
+# enabled. This rule turns them off when added to the requirements
+# section
+# <toolset>intel-win:<debug-symbols>off
+
+bpl_test(iterator iterator.py iterator.cpp input_iterator.cpp)
+
+bpl_test(stl_iterator stl_iterator.py stl_iterator.cpp)
+
+bpl_test(extract)
+
+bpl_test (crossmod_opaque
+ crossmod_opaque.py crossmod_opaque_a.cpp crossmod_opaque_b.cpp)
+
+bpl_test(opaque)
+bpl_test(voidptr)
+
+bpl_test(pickle1)
+bpl_test(pickle2)
+bpl_test(pickle3)
+bpl_test(pickle4)
+
+bpl_test(nested)
+
+bpl_test(docstring)
+
+bpl_test(vector_indexing_suite)
+
+bpl_test(pointer_vector)
+# TODO: Turn off this test on HP CXX, as the test hangs when executing.
+# Whenever the cause for the failure of the polymorphism test is found
+# and fixed, this should be retested.
+# <toolset>hp_cxx:<build>no
+
+boost_python_extension(map_indexing_suite_ext
+ map_indexing_suite.cpp int_map_indexing_suite.cpp a_map_indexing_suite.cpp)
+
+bpl_test(map_indexing_suite
+ map_indexing_suite.py map_indexing_suite_ext)
+
+
+# --- unit tests of library components ---
+
+boost_test_compile(indirect_traits_test)
+boost_test_run(destroy_test)
+py_run(pointer_type_id_test)
+py_run(bases)
+boost_test_run(if_else)
+py_run(pointee)
+boost_test_run(result)
+
+boost_test_compile(string_literal)
+boost_test_compile(borrowed)
+boost_test_compile(object_manager)
+boost_test_compile(copy_ctor_mutates_rhs)
+
+py_run(upcast)
+
+boost_test_compile(select_holder)
+
+boost_test_run(select_from_python_test
+ select_from_python_test.cpp ../src/converter/type_id.cpp
+ COMPILE_FLAGS "-DBOOST_PYTHON_STATIC_LIB"
+ LINK_LIBS ${PYTHON_LIBRARIES})
+
+boost_test_compile(select_arg_to_python_test)
+
+boost_test_compile_fail(raw_pyobject_fail1)
+boost_test_compile_fail(raw_pyobject_fail2)
+boost_test_compile_fail(as_to_python_function)
+boost_test_compile_fail(object_fail1)
Added: branches/CMake/Boost_1_35_0/libs/random/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/random/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Random
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/random/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/random/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+boost_test_run(random_test ../random_test.cpp)
+boost_test_run(random_demo ../random_demo.cpp)
+# TODO: These tests were commented out in the Jamfile.v2:
+# [ run libs/random/nondet_random_speed.cpp ]
+# [ run libs/random/random_device.cpp ]
+# [ run libs/random/random_speed.cpp ]
+# [ run libs/random/statistic_tests.cpp ]
Added: branches/CMake/Boost_1_35_0/libs/range/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/range/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Range
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/range/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/range/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,11 @@
+boost_test_run(array DEPENDS boost_unit_test_framework)
+boost_test_run(iterator_pair DEPENDS boost_unit_test_framework)
+boost_test_run(std_container DEPENDS boost_unit_test_framework)
+boost_test_run(string DEPENDS boost_unit_test_framework)
+boost_test_run(iterator_range DEPENDS boost_unit_test_framework)
+boost_test_run(sub_range DEPENDS boost_unit_test_framework)
+boost_test_run(partial_workaround DEPENDS boost_unit_test_framework)
+boost_test_run(algorithm_example DEPENDS boost_unit_test_framework)
+boost_test_run(reversible_range DEPENDS boost_unit_test_framework)
+boost_test_run(const_ranges DEPENDS boost_unit_test_framework)
+boost_test_run(extension_mechanism DEPENDS boost_unit_test_framework)
Added: branches/CMake/Boost_1_35_0/libs/rational/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/rational/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Rational
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/regex/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/regex/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Regex
+ SRCDIRS src
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/regex/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/regex/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,34 @@
+# Look for the ICU library. If we find it, we'll compile in support for ICU
+include(FindICU)
+set(BOOST_REGEX_LIBRARIES)
+if (ICU_FOUND AND ICU_I18N_FOUND)
+ add_definitions(-DBOOST_HAS_ICU=1)
+ include_directories(${ICU_INCLUDE_DIRS})
+ set(BOOST_REGEX_LIBRARIES ${ICU_LIBRARIES} ${ICU_I18N_LIBRARIES})
+endif (ICU_FOUND AND ICU_I18N_FOUND)
+
+boost_add_library(boost_regex
+ 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
+ LINK_LIBS ${BOOST_REGEX_LIBRARIES}
+ SHARED_COMPILE_FLAGS -DBOOST_REGEX_DYN_LINK=1)
+
+
+
+
+
Added: branches/CMake/Boost_1_35_0/libs/regex/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/regex/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,88 @@
+# TODO: Default to multi-threaded?
+macro(regex_test TESTNAME)
+ parse_arguments(REGEX_TEST "" "" ${ARGN})
+
+ if (REGEX_TEST_DEFAULT_ARGS)
+ set(REGEX_TEST_SOURCES ${REGEX_TEST_DEFAULT_ARGS})
+ else (REGEX_TEST_DEFAULT_ARGS)
+ set(REGEX_TEST_SOURCES "${TESTNAME}.cpp")
+ endif (REGEX_TEST_DEFAULT_ARGS)
+
+ boost_test_run(${TESTNAME} ${REGEX_TEST_SOURCES}
+ COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
+ DEPENDS boost_regex SHARED)
+endmacro(regex_test)
+
+set(R_SOURCES
+ regress/basic_tests.cpp
+ regress/main.cpp
+ regress/test_alt.cpp
+ regress/test_anchors.cpp
+ regress/test_asserts.cpp
+ regress/test_backrefs.cpp
+ regress/test_deprecated.cpp
+ regress/test_emacs.cpp
+ regress/test_escapes.cpp
+ regress/test_grep.cpp
+ regress/test_locale.cpp
+ regress/test_mfc.cpp
+ regress/test_non_greedy_repeats.cpp
+ regress/test_perl_ex.cpp
+ regress/test_replace.cpp
+ regress/test_sets.cpp
+ regress/test_simple_repeats.cpp
+ regress/test_tricky_cases.cpp
+ regress/test_icu.cpp
+ regress/test_unicode.cpp
+ regress/test_overloads.cpp
+ regress/test_operators.cpp
+ )
+
+boost_test_run(regex_regress ${R_SOURCES} DEPENDS boost_regex STATIC)
+boost_test_run(regex_regress_dll ${R_SOURCES}
+ COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
+ DEPENDS boost_regex SHARED)
+boost_test_run(regex_regress_threaded ${R_SOURCES}
+ COMPILE_FLAGS "-DTEST_THREADS -DBOOST_REGEX_DYN_LINK=1"
+ MULTI_THREADED SHARED
+ DEPENDS boost_regex boost_thread)
+
+regex_test(posix_api_check c_compiler_checks/posix_api_check.c)
+boost_test_compile(wide_posix_api_check_c c_compiler_checks/wide_posix_api_check.c)
+regex_test(posix_api_check_cpp c_compiler_checks/wide_posix_api_check.cpp)
+regex_test(bad_expression_test pathology/bad_expression_test.cpp)
+regex_test(recursion_test pathology/recursion_test.cpp)
+regex_test(unicode_iterator_test unicode/unicode_iterator_test.cpp)
+
+boost_test_run(static_mutex_test static_mutex/static_mutex_test.cpp
+ COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
+ MULTI_THREADED SHARED
+ DEPENDS boost_regex boost_thread)
+
+regex_test(object_cache_test object_cache/object_cache_test.cpp)
+boost_test_run(regex_config_info config_info/regex_config_info.cpp
+ DEPENDS boost_regex STATIC)
+
+boost_test_run(regex_dll_config_info config_info/regex_config_info.cpp
+ COMPILE_FLAGS "-DBOOST_REGEX_DYN_LINK=1"
+ DEPENDS boost_regex SHARED)
+
+regex_test(test_collate_info collate_info/collate_info.cpp)
+
+boost_test_compile(concept_check concepts/concept_check.cpp)
+boost_test_compile(ice_concept_check concepts/icu_concept_check.cpp)
+
+# TODO: Deal with this
+ # [ run
+ # sources
+# captures/captures_test.cpp
+ # captures//boost_regex_extra
+ #: # additional args
+ #: # test-files
+ #: # requirements
+ # <threading>multi
+ # <define>BOOST_REGEX_MATCH_EXTRA=1
+ # <define>BOOST_REGEX_NO_LIB=1
+# : # test name
+ # captures_test
+# ]
Added: branches/CMake/Boost_1_35_0/libs/serialization/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/serialization/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_library_project(
+ Serialization
+ SRCDIRS src
+ TESTDIRS test
+ MODULAR
+)
Added: branches/CMake/Boost_1_35_0/libs/serialization/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/serialization/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,56 @@
+
+set(SOURCES
+ 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
+ codecvt_null.cpp
+ extended_type_info.cpp
+ extended_type_info_no_rtti.cpp
+ extended_type_info_typeid.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
+ )
+
+set(WSOURCES
+ utf8_codecvt_facet.cpp
+ basic_text_wiprimitive.cpp
+ basic_text_woprimitive.cpp
+ binary_wiarchive.cpp
+ binary_woarchive.cpp
+ text_wiarchive.cpp
+ text_woarchive.cpp
+ xml_wgrammar.cpp
+ xml_wiarchive.cpp
+ xml_woarchive.cpp
+ )
+
+boost_add_library(boost_serialization
+ ${SOURCES}
+ SHARED_COMPILE_FLAGS -DBOOST_SERIALIZATION_DYN_LINK=1
+)
+
+option(BUILD_BOOST_WSERIALIZATION "Build wide-char boost serialization libs" ON)
+if (BUILD_BOOST_WSERIALIZATION)
+ boost_add_library(boost_wserialization
+ ${WSOURCES}
+ SHARED_COMPILE_FLAGS "-DBOOST_SERIALIZATION_DYN_LINK=1 -DBOOST_WSERIALIZATION_DYN_LINK=1"
+ DEPENDS boost_serialization
+ )
+endif(BUILD_BOOST_WSERIALIZATION)
Added: branches/CMake/Boost_1_35_0/libs/serialization/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/serialization/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,179 @@
+# The set of archives that we will use for testing the Serialization
+# library
+set(BOOST_ARCHIVE_LIST
+ "text_archive"
+ "text_warchive"
+ "binary_archive"
+ "xml_archive"
+ "xml_warchive"
+ )
+
+# The serialization_test macro declares a set of tests of the
+# serialization library. For each invocation of serialization_test,
+# this macro will build separate static and dynamic tests.
+macro(serialization_test testname)
+ parse_arguments(BSL_TEST "" "NO_LIBS;POLYMORPHIC" ${ARGN})
+
+ if(NOT BSL_TEST_DEFAULT_ARGS)
+ set(BSL_TEST_SOURCES "${testname}.cpp")
+ else(NOT BSL_TEST_DEFAULT_ARGS)
+ set(BSL_TEST_SOURCES "${BSL_TEST_DEFAULT_ARGS}")
+ endif(NOT BSL_TEST_DEFAULT_ARGS)
+
+ if (BSL_TEST_POLYMORPHIC)
+ set(BSL_TEST_POLY "polymorphic_")
+ elseif(BSL_TEST_POLYMORPHIC)
+ set(BSL_TEST_POLY "")
+ endif(BSL_TEST_POLYMORPHIC)
+
+ set(BSL_TEST_LIBRARIES)
+ if(NOT BSL_NO_LIBS)
+ set(BSL_TEST_LIBRARIES "boost_serialization")
+ endif(NOT BSL_NO_LIBS)
+
+ # Tests linking against the static serialization library
+ boost_test_run("${testname}"
+ ${BSL_TEST_SOURCES}
+ STATIC
+ DEPENDS boost_test_exec_monitor-static ${BSL_TEST_LIBRARIES}
+ COMPILE_FLAGS "-DBOOST_LIB_DIAGNOSTIC=1")
+
+ # Tests linking against the shared serialization library
+ boost_test_run("${testname}_dll"
+ ${BSL_TEST_SOURCES}
+ SHARED
+ DEPENDS boost_test_exec_monitor-static ${BSL_TEST_LIBRARIES}
+ COMPILE_FLAGS "-DBOOST_LIB_DIAGNOSTIC=1 -DBOOST_ALL_DYN_LINK=1")
+endmacro(serialization_test)
+
+# Like serialization_test, but runs the same test for all archive types.
+macro(serialization_test_allarchives testname)
+ parse_arguments(BSL_TEST "" "NO_LIBS;POLYMORPHIC" ${ARGN})
+
+ if(NOT BSL_TEST_DEFAULT_ARGS)
+ set(BSL_TEST_SOURCES "${testname}.cpp")
+ else(NOT BSL_TEST_DEFAULT_ARGS)
+ set(BSL_TEST_SOURCES "${BSL_TEST_DEFAULT_ARGS}")
+ endif(NOT BSL_TEST_DEFAULT_ARGS)
+
+ if (BSL_TEST_POLYMORPHIC)
+ set(BSL_TEST_POLY "polymorphic_")
+ elseif(BSL_TEST_POLYMORPHIC)
+ set(BSL_TEST_POLY "")
+ endif(BSL_TEST_POLYMORPHIC)
+
+ foreach(ARCHIVE ${BOOST_ARCHIVE_LIST})
+ set(BSL_TEST_LIBRARIES)
+ if(NOT BSL_NO_LIBS)
+ set(BSL_TEST_LIBRARIES "boost_serialization")
+ if(ARCHIVE MATCHES ".*warchive")
+ set(BSL_TEST_LIBRARIES "boost_wserialization" ${BSL_TEST_LIBRARIES})
+ endif(ARCHIVE MATCHES ".*warchive")
+ endif(NOT BSL_NO_LIBS)
+
+ # Tests linking against the static serialization library
+ boost_test_run("${testname}_${ARCHIVE}"
+ ${BSL_TEST_SOURCES}
+ STATIC
+ DEPENDS boost_test_exec_monitor-static ${BSL_TEST_LIBRARIES}
+ COMPILE_FLAGS "-DBOOST_ARCHIVE_TEST=${BSL_TEST_POLY}${ARCHIVE}.hpp -DBOOST_LIB_DIAGNOSTIC=1")
+
+ # Tests linking against the shared serialization library
+ boost_test_run("${testname}_${ARCHIVE}_dll"
+ ${BSL_TEST_SOURCES}
+ SHARED
+ DEPENDS boost_test_exec_monitor-static ${BSL_TEST_LIBRARIES}
+ COMPILE_FLAGS "-DBOOST_ARCHIVE_TEST=${BSL_TEST_POLY}${ARCHIVE}.hpp -DBOOST_LIB_DIAGNOSTIC=1 -DBOOST_ALL_DYN_LINK=1")
+ endforeach(ARCHIVE ${BOOST_ARCHIVE_LIST})
+endmacro(serialization_test_allarchives)
+
+serialization_test_allarchives(test_array)
+serialization_test_allarchives(test_binary)
+serialization_test_allarchives(test_contained_class)
+serialization_test_allarchives(test_cyclic_ptrs)
+serialization_test_allarchives(test_delete_pointer)
+serialization_test_allarchives(test_deque)
+serialization_test_allarchives(test_derived)
+serialization_test_allarchives(test_derived_class)
+serialization_test_allarchives(test_derived_class_ptr)
+serialization_test_allarchives(test_diamond)
+serialization_test_allarchives(test_exported)
+serialization_test_allarchives(test_class_info_save)
+serialization_test_allarchives(test_class_info_load)
+serialization_test_allarchives(test_object)
+serialization_test_allarchives(test_primitive)
+serialization_test_allarchives(test_list)
+serialization_test_allarchives(test_list_ptrs)
+serialization_test_allarchives(test_map)
+serialization_test_allarchives(test_mi)
+serialization_test_allarchives(test_multiple_ptrs)
+serialization_test_allarchives(test_no_rtti)
+serialization_test_allarchives(test_non_intrusive)
+serialization_test_allarchives(test_non_default_ctor)
+serialization_test_allarchives(test_non_default_ctor2)
+serialization_test_allarchives(test_null_ptr)
+serialization_test_allarchives(test_nvp)
+serialization_test_allarchives(test_recursion)
+serialization_test_allarchives(test_registered)
+serialization_test_allarchives(test_set)
+serialization_test_allarchives(test_simple_class)
+serialization_test_allarchives(test_simple_class_ptr)
+serialization_test_allarchives(test_split)
+serialization_test_allarchives(test_tracking)
+serialization_test_allarchives(test_unregistered)
+serialization_test_allarchives(test_variant)
+serialization_test_allarchives(test_vector)
+serialization_test_allarchives(test_optional)
+serialization_test_allarchives(test_shared_ptr)
+serialization_test_allarchives(test_shared_ptr_132)
+serialization_test_allarchives(test_polymorphic POLYMORPHIC
+ test_polymorphic.cpp test_polymorphic_A.cpp)
+serialization_test(test_serialization_iterators test_iterators.cpp NO_LIBS)
+serialization_test(test_iterators_base64 NO_LIBS)
+serialization_test(test_inclusion NO_LIBS)
+serialization_test(test_private_ctor)
+serialization_test(test_reset_object_address)
+serialization_test(test_smart_cast NO_LIBS)
+serialization_test(test_static_warning NO_LIBS)
+serialization_test(test_utf8_codecvt
+ test_utf8_codecvt.cpp ../src/utf8_codecvt_facet.cpp NO_LIBS)
+serialization_test(test_void_cast)
+serialization_test(test_mult_archive_types)
+serialization_test(test_codecvt_null
+ test_codecvt_null.cpp ../src/codecvt_null.cpp NO_LIBS)
+
+# demos
+serialization_test(test_demo)
+serialization_test(test_demo_auto_ptr)
+serialization_test(test_demo_exception)
+serialization_test(test_demo_fast_archive)
+serialization_test(test_demo_pimpl
+ ../example/demo_pimpl.cpp ../example/demo_pimpl_A.cpp)
+serialization_test(test_demo_polymorphic
+ ../example/demo_polymorphic.cpp ../example/demo_polymorphic_A.cpp)
+serialization_test(test_demo_portable_archive)
+serialization_test(test_demo_shared_ptr)
+serialization_test(test_demo_xml)
+serialization_test(test_demo_xml_save)
+serialization_test(test_demo_xml_load)
+
+# should fail compilation
+boost_test_compile_fail(test_not_serializable) # FIXME std:locale-support ]
+boost_test_compile_fail(test_traits_fail) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_save_fail1) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_save_fail2) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_save_fail3) # FIXME std:locale-support ]
+# note - library unable to detect there errors for now
+#boost_test_compile_fail(test_const_save_fail1_nvp)
+#boost_test_compile_fail(test_const_save_fail2_nvp)
+#boost_test_compile_fail(test_const_save_fail3_nvp)
+boost_test_compile_fail(test_const_load_fail1) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_load_fail2) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_load_fail3) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_load_fail1_nvp) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_load_fail2_nvp) # FIXME std:locale-support ]
+boost_test_compile_fail(test_const_load_fail3_nvp) # FIXME std:locale-support ]
+
+# should compile
+boost_test_compile(test_traits_pass) # FIXME std:locale-support ]
+boost_test_compile(test_const_pass) # FIXME std:locale-support ]
Added: branches/CMake/Boost_1_35_0/libs/signals/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/signals/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Signals
+ SRCDIRS src
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/signals/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/signals/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+add_definitions(-DBOOST_SIGNALS_NO_LIB=1)
+
+boost_add_library(
+ boost_signals
+ trackable.cpp connection.cpp named_slot_map.cpp signal_base.cpp slot.cpp
+ SHARED_COMPILE_FLAGS "-DBOOST_SIGNALS_DYN_LINK=1"
+ )
Added: branches/CMake/Boost_1_35_0/libs/signals/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/signals/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,6 @@
+boost_test_run(dead_slot_test DEPENDS boost_signals)
+boost_test_run(deletion_test DEPENDS boost_signals)
+boost_test_run(ordering_test DEPENDS boost_signals)
+boost_test_run(signal_n_test DEPENDS boost_signals)
+boost_test_run(signal_test DEPENDS boost_signals)
+boost_test_run(trackable_test DEPENDS boost_signals)
Added: branches/CMake/Boost_1_35_0/libs/smart_ptr/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/smart_ptr/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Smart_pointer
+ TESTDIRS test
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/smart_ptr/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/smart_ptr/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,15 @@
+boost_test_run(smart_ptr_test)
+boost_test_run(shared_ptr_basic_test)
+boost_test_run(shared_ptr_test)
+boost_test_run(weak_ptr_test)
+boost_test_run(shared_from_this_test)
+boost_test_run(get_deleter_test)
+boost_test_run(intrusive_ptr_test)
+boost_test_run(atomic_count_test)
+boost_test_run(lw_mutex_test)
+boost_test_compile_fail(shared_ptr_assign_fail)
+boost_test_compile_fail(shared_ptr_delete_fail)
+boost_test_run(shared_ptr_alloc2_test)
+boost_test_run(pointer_cast_test)
+boost_test_compile(pointer_to_other_test)
+boost_test_run(auto_ptr_rv_test)
Added: branches/CMake/Boost_1_35_0/libs/spirit/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/spirit/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Spirit
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/spirit/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/spirit/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,123 @@
+macro(spirit_run TESTNAME)
+ parse_arguments(SPIRIT_RUN "COMPILE_FLAGS" "" ${ARGN})
+
+ if (SPIRIT_RUN_DEFAULT_ARGS)
+ set(SPIRIT_RUN_SOURCES ${SPIRIT_RUN_DEFAULT_ARGS})
+ else (SPIRIT_RUN_DEFAULT_ARGS)
+ set(SPIRIT_RUN_SOURCES "${TESTNAME}.cpp")
+ endif (SPIRIT_RUN_DEFAULT_ARGS)
+
+ boost_test_run(${TESTNAME}
+ ${SPIRIT_RUN_SOURCES}
+ COMPILE_FLAGS "${SPIRIT_RUN_COMPILE_FLAGS}"
+ )
+ boost_test_run(${TESTNAME}_debug
+ ${SPIRIT_RUN_SOURCES}
+ COMPILE_FLAGS "-DBOOST_SPIRIT_DEBUG=1 ${SPIRIT_RUN_COMPILE_FLAGS}"
+ )
+endmacro(spirit_run)
+
+if(MSVC)
+ # For Visual C++, turn on optimizations
+ set(OPT_FLAGS "${CMAKE_CXX_FLAGS_RELEASE}")
+else(MSVC)
+ set(OPT_FLAGS "")
+endif(MSVC)
+
+# spirit.core.kernel
+spirit_run(match_tests)
+
+# spirit.core.scanner
+spirit_run(scanner_tests)
+spirit_run(scanner_value_type_tests)
+
+# spirit.core.primitive
+spirit_run(primitives_tests)
+spirit_run(char_strings_test)
+boost_test_compile_fail(char_strings_test_fail)
+spirit_run(numerics_tests COMPILE_FLAGS "${OPT_FLAGS}")
+
+# spirit.core.composite
+spirit_run(epsilon_tests)
+spirit_run(negated_eps_p_test)
+spirit_run(operators_tests)
+spirit_run(directives_tests)
+spirit_run(shortest_alternative_tests)
+
+# spirit.core.non_terminal
+spirit_run(rule_tests)
+spirit_run(owi_st_tests)
+spirit_run(grammar_tests COMPILE_FLAGS "${OPT_FLAGS}")
+spirit_run(grammar_multi_instance_tst COMPILE_FLAGS "${OPT_FLAGS}")
+spirit_run(subrule_tests)
+# TODO: [ run owi_mt_tests.cpp : : : $(multi-threading) ]
+# TODO: [ run grammar_mt_tests.cpp : : : $(multi-threading) ]
+spirit_run(parser_context_test)
+
+# spirit.meta
+spirit_run(fundamental_tests)
+spirit_run(parser_traits_tests)
+spirit_run(traverse_tests)
+
+# spirit.attribute
+spirit_run(closure_tests COMPILE_FLAGS "${OPT_FLAGS}")
+# [ run bug_000008.cpp : : : $(multi-threading) ]
+spirit_run(parametric_tests)
+
+# spirit.error_handling
+spirit_run(exception_tests)
+
+# spirit.tree
+spirit_run(ast_calc_tests)
+spirit_run(group_match_bug)
+spirit_run(repeat_ast_tests)
+boost_test_compile(mix_and_match_trees)
+
+# temporarily removed from the test suite. tree_tests are not finished, yet.
+# spirit_run(tree_tests)
+
+# spirit.dynamic
+boost_test_compile(if_p_as_parser_tests)
+boost_test_compile(while_p_as_parser_tests)
+boost_test_compile(for_p_as_parser_tests)
+spirit_run(if_tests)
+spirit_run(if_p_int_as_condition_test)
+spirit_run(for_tests)
+spirit_run(while_tests)
+spirit_run(lazy_tests)
+spirit_run(switch_tests_eps_default)
+spirit_run(switch_tests_general_def)
+spirit_run(switch_tests_wo_default)
+spirit_run(switch_tests_single)
+spirit_run(switch_problem)
+spirit_run(select_p_with_rule)
+
+# spirit.utility.parsers
+spirit_run(chset_tests)
+spirit_run(confix_tests)
+spirit_run(loops_tests)
+spirit_run(symbols_tests)
+spirit_run(symbols_add_null)
+spirit_run(symbols_find_null)
+spirit_run(escape_char_parser_tests COMPILE_FLAGS "${OPT_FLAGS}")
+spirit_run(distinct_tests)
+spirit_run(grammar_def_test)
+
+# spirit.utility.support
+# This test doesn't actually use multiple threads
+# spirit_run(scoped_lock_tests : : : $(multi-threading) ]
+
+# spirit.iterator
+spirit_run(fixed_size_queue_tests)
+boost_test_compile_fail(fixed_size_queue_fail_tests)
+spirit_run(file_iterator_tests)
+spirit_run(multi_pass_tests COMPILE_FLAGS "${OPT_FLAGS}")
+spirit_run(sf_bug_720917 COMPILE_FLAGS "${OPT_FLAGS}")
+spirit_run(position_iterator_tests COMPILE_FLAGS "${OPT_FLAGS}")
+boost_test_compile(multi_pass_compile_tests)
+
+# spirit.small_bug_fixes
+spirit_run(bug_fixes)
+
+add_subdirectory(actor)
+add_subdirectory(typeof_support)
Added: branches/CMake/Boost_1_35_0/libs/spirit/test/actor/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/spirit/test/actor/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,14 @@
+# spirit.utility.actors
+spirit_run(action_tests
+ action_tests.cpp
+ assign_test.cpp
+ assign_key_test.cpp
+ clear_test.cpp
+ decrement_test.cpp
+ erase_at_test.cpp
+ increment_test.cpp
+ insert_key_test.cpp
+ insert_at_test.cpp
+ push_back_test.cpp
+ push_front_test.cpp
+ swap_test.cpp)
Added: branches/CMake/Boost_1_35_0/libs/spirit/test/typeof_support/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/spirit/test/typeof_support/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,12 @@
+# spirit.typeof-support
+boost_test_compile(typeof_actor)
+boost_test_compile(typeof_attribute)
+boost_test_compile(typeof_core)
+boost_test_compile(typeof_debug)
+boost_test_compile(typeof_dynamic)
+boost_test_compile(typeof_error_handling)
+boost_test_compile(typeof_iterator)
+boost_test_compile(typeof_symbols)
+boost_test_compile(typeof_tree)
+boost_test_compile(typeof_utility)
+
Added: branches/CMake/Boost_1_35_0/libs/statechart/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/statechart/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Statechart
+ TESTDIRS test example
+ )
Added: branches/CMake/Boost_1_35_0/libs/statechart/example/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/statechart/example/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,25 @@
+macro(statechart_example TESTNAME)
+ set(SOURCES)
+ foreach(ARG ${ARGN})
+ set(SOURCES ${SOURCES} "${TESTNAME}/${ARG}.cpp")
+ endforeach(ARG ${ARGN})
+
+ if (NOT)
+ set(SOURCES "${TESTNAME}/${TESTNAME}.cpp")
+ endif (NOT)
+
+ boost_test_link("${TESTNAME}Example"
+ ${SOURCES}
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS"
+ )
+endmacro(statechart_example)
+
+statechart_example(BitMachine)
+#statechart_example(Camera
+# : Camera : Camera Configuring Main Shooting)
+#statechart_example(Handcrafted : Handcrafted : Handcrafted)
+#statechart_example(Keyboard : Keyboard : Keyboard :)
+#statechart_example(Performance : Performance : Performance)
+#statechart_example(PingPong : PingPong : PingPong)
+#statechart_example(StopWatch : StopWatch : StopWatch)
+#statechart_example(StopWatch2 : StopWatch : StopWatch2) ;
Added: branches/CMake/Boost_1_35_0/libs/statechart/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/statechart/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,81 @@
+macro(statechart_compile_fail TESTNAME)
+ boost_test_compile_fail("${TESTNAME}Normal"
+ ${TESTNAME}.cpp
+ )
+ boost_test_compile_fail("${TESTNAME}Native"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_STATECHART_USE_NATIVE_RTTI"
+ )
+ boost_test_compile_fail("${TESTNAME}Relaxed"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ )
+ boost_test_compile_fail("${TESTNAME}Both"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_STATECHART_USE_NATIVE_RTTI -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ )
+endmacro(statechart_compile_fail)
+
+macro(statechart_run TESTNAME)
+ boost_test_run("${TESTNAME}Normal"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS"
+ DEPENDS boost_test_exec_monitor
+ )
+ boost_test_run("${TESTNAME}Native"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_USE_NATIVE_RTTI"
+ DEPENDS boost_test_exec_monitor
+ )
+ boost_test_run("${TESTNAME}Relaxed"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ DEPENDS boost_test_exec_monitor
+ )
+ boost_test_run("${TESTNAME}Both"
+ ${TESTNAME}.cpp
+ COMPILE_FLAGS "-DBOOST_DISABLE_THREADS -DBOOST_STATECHART_USE_NATIVE_RTTI -DBOOST_STATECHART_RELAX_TRANSITION_CONTEXT"
+ DEPENDS boost_test_exec_monitor
+ )
+endmacro(statechart_run)
+
+
+statechart_compile_fail(InvalidChartTest1)
+statechart_compile_fail(InvalidChartTest2)
+statechart_compile_fail(InvalidChartTest3)
+statechart_run(TransitionTest)
+statechart_compile_fail(InvalidTransitionTest1)
+statechart_compile_fail(InvalidTransitionTest2)
+statechart_run(InStateReactionTest)
+statechart_run(TerminationTest)
+statechart_run(DeferralTest)
+statechart_run(CustomReactionTest)
+statechart_compile_fail(InvalidResultAssignTest)
+statechart_compile_fail(InvalidResultDefCtorTest)
+statechart_run(InvalidResultCopyTest)
+statechart_run(UnconsumedResultTest)
+statechart_run(HistoryTest)
+statechart_compile_fail(InconsistentHistoryTest1)
+statechart_compile_fail(InconsistentHistoryTest2)
+statechart_compile_fail(InconsistentHistoryTest3)
+statechart_compile_fail(InconsistentHistoryTest4)
+statechart_compile_fail(InconsistentHistoryTest5)
+statechart_compile_fail(InconsistentHistoryTest6)
+statechart_compile_fail(InconsistentHistoryTest7)
+statechart_compile_fail(InconsistentHistoryTest8)
+statechart_compile_fail(UnsuppDeepHistoryTest)
+statechart_run(StateCastTest)
+statechart_run(TypeInfoTest)
+statechart_run(StateIterationTest)
+statechart_run(FifoSchedulerTest)
+# TODO: We need to create some libraries (just for testing!?), then link
+# and run tests against them. Ick.
+#statechart-st-lib-run LibTestNormal
+# : TuTestMain : TuTest : <link>static $(normal))
+#statechart-st-lib-run LibTestNative
+# : TuTestMain : TuTest : <link>static $(native))
+#statechart-st-lib-run DllTestNormal
+# : TuTestMain : TuTest : <link>shared $(normal))
+#statechart-st-lib-run DllTestNative
+# : TuTestMain : TuTest : <link>shared $(native))
+
Added: branches/CMake/Boost_1_35_0/libs/static_assert/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/static_assert/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Static_assert
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/system/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/system/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ System
+ SRCDIRS src
+ )
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/system/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/system/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+boost_add_library(
+ boost_system
+ error_code.cpp
+ SHARED_COMPILE_FLAGS "-DBOOST_SYSTEM_DYN_LINK=1"
+ STATIC_COMPILE_FLAGS "-DBOOST_SYSTEM_STATIC_LINK=1"
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Test
+ SRCDIRS src
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/test/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/test/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,64 @@
+# Test library configuration
+add_definitions(-DBOOST_TEST_NO_AUTO_LINK=1)
+
+# Compiler-specific configuration
+set(BOOST_SHARED_COMPILE_FLAGS "")
+if(MSVC)
+ add_definitions(/EHac)
+ set(BOOST_SHARED_COMPILE_FLAGS "${BOOST_SHARED_COMPILE_FLAGS} -wd4275")
+endif(MSVC)
+
+if (BORLAND)
+ add_definitions(-w-8080)
+endif(BORLAND)
+
+boost_add_library(boost_prg_exec_monitor
+ execution_monitor.cpp cpp_main.cpp debug.cpp
+ STATIC_TAG
+ SHARED_COMPILE_FLAGS -DBOOST_TEST_DYN_LINK=1 ${BOOST_SHARED_COMPILE_FLAGS})
+
+boost_add_library(boost_test_exec_monitor
+ NO_SHARED
+ 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
+ )
+
+boost_add_library(boost_unit_test_framework
+ 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
+ STATIC_TAG
+ SHARED_COMPILE_FLAGS -DBOOST_TEST_DYN_LINK=1 ${BOOST_SHARED_COMPILE_FLAGS}
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/test/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/test/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,43 @@
+add_definitions(-DBOOST_TEST_NO_AUTO_LINK=1)
+# shared needs:
+add_definitions(-DBOOST_TEST_DYN_LINK=1)
+
+if(BORLAND)
+ add_definitions(-w-8080)
+endif(BORLAND)
+
+# Basic tests
+boost_test_run(class_properties_test DEPENDS boost_unit_test_framework SHARED)
+boost_test_run(basic_cstring_test DEPENDS boost_unit_test_framework)
+
+# Program execution monitor tests
+boost_test_run_fail(prg_exec_fail1 DEPENDS boost_prg_exec_monitor)
+boost_test_run_fail(prg_exec_fail2 DEPENDS boost_prg_exec_monitor)
+boost_test_run_fail(prg_exec_fail3 DEPENDS boost_prg_exec_monitor)
+boost_test_run_fail(prg_exec_fail4 DEPENDS boost_prg_exec_monitor)
+
+# Unit test framework tests
+# NOTE: skipped errors_handling_test until I figure out what BBv2 is doing
+boost_test_run(online_test)
+boost_test_run_fail(minimal_test)
+boost_test_run(foreach_test)
+boost_test_run(output_test_stream_test DEPENDS boost_unit_test_framework SHARED)
+
+# NOTE: skipped result_report_test until I figure out what BBv2 is doing
+
+boost_test_run(parameterized_test_test DEPENDS boost_unit_test_framework SHARED)
+boost_test_run(test_fp_comparisons DEPENDS boost_unit_test_framework SHARED)
+
+# NOTE: skipped test_tools_test until I figure out what BBv2 is doing
+
+boost_test_run(test_case_template_test DEPENDS boost_unit_test_framework SHARED)
+
+boost_test_run(custom_exception_test DEPENDS boost_unit_test_framework)
+
+boost_test_run(fixed_mapping_test DEPENDS boost_unit_test_framework SHARED)
+
+# NOTE: skipped ifstream_line_iterator_test until I figure out what BBv2 is doing
+
+boost_test_run(algorithms_test DEPENDS boost_unit_test_framework)
+boost_test_run(token_iterator_test DEPENDS boost_unit_test_framework SHARED)
+boost_test_run(boost_check_equal_str DEPENDS boost_unit_test_framework SHARED)
Added: branches/CMake/Boost_1_35_0/libs/thread/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/thread/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Thread
+ SRCDIRS src
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/thread/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/thread/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,15 @@
+if (WIN32)
+ set(THREAD_SOURCES win32/thread.cpp win32/exceptions.cpp win32/tss_dll.cpp
+ win32/tss_pe.cpp)
+else (WIN32)
+ set(THREAD_SOURCES pthread/thread.cpp pthread/exceptions.cpp pthread/once.cpp)
+endif (WIN32)
+
+boost_add_library(
+ boost_thread
+ ${THREAD_SOURCES}
+ SHARED_COMPILE_FLAGS "-DBOOST_THREAD_BUILD_DLL=1"
+ STATIC_COMPILE_FLAGS "-DBOOST_THREAD_BUILD_LIB=1"
+ NO_SINGLE_THREADED
+ )
+
Added: branches/CMake/Boost_1_35_0/libs/thread/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/thread/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,8 @@
+boost_test_run(test_thread MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_mutex MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_condition MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_tss MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_once MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_xtime MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+boost_test_run(test_barrier MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework)
+#boost_test_run(test_read_write_mutex DEPENDS boost_thread-static boost_unit_test_framework)
Added: branches/CMake/Boost_1_35_0/libs/timer/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/timer/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Timer
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/tokenizer/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/tokenizer/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Tokenizer
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/tr1/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/tr1/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ tr1
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/tr1/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/tr1/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,54 @@
+include_directories(${Boost_SOURCE_DIR}/boost/tr1/tr1)
+
+if (BORLAND)
+ # Borland's broken include mechanism needs these extra headers:
+ include_directories(${Boost_SOURCE_DIR}/boost/tr1/tr1/bcc32)
+endif (BORLAND)
+
+macro(boost_glob_test_compile path glob_par compile_flags)
+ list_contains(WITH_STD "WITH_STD" ${ARGN})
+ file(GLOB file_list ${path}/${glob_par})
+ foreach (current_file ${file_list})
+ get_filename_component(file_name ${current_file} NAME_WE)
+ boost_test_compile(${file_name} ${path}/${file_name}.cpp
+ COMPILE_FLAGS "${compile_flags}")
+ if (WITH_STD)
+ boost_test_compile(${file_name}_std ${path}/${file_name}.cpp
+ COMPILE_FLAGS "${compile_flags} -DTEST_STD_HEADERS=1")
+ endif (WITH_STD)
+ endforeach (current_file)
+endmacro(boost_glob_test_compile)
+
+macro(boost_glob_test_compile_fail patch glob_par compile_flags)
+ file(GLOB file_list ${glob_par})
+ foreach (current_file ${file_list})
+ get_filename_component(file_name ${current_file} NAME_WE)
+ boost_test_compile_fail(${file_name} ${path}/${file_name}.cpp COMPILE_FLAGS "${compile_flags}")
+ endforeach (current_file)
+endmacro(boost_glob_test_compile_fail)
+
+macro(boost_glob_test_run path glob_par compile_flags)
+ list_contains(WITH_STD "WITH_STD" ${ARGN})
+ file(GLOB file_list ${path}/${glob_par})
+ foreach (current_file ${file_list})
+ get_filename_component(file_name ${current_file} NAME_WE)
+ boost_test_run(${file_name} ${path}/${file_name}.cpp COMPILE_FLAGS "${compile_flags}")
+ if (WITH_STD)
+ boost_test_run(${file_name}_std ${path}/${file_name}.cpp
+ COMPILE_FLAGS "${compile_flags} -DTEST_STD_HEADERS=1")
+ endif (WITH_STD)
+ endforeach (current_file)
+endmacro(boost_glob_test_run)
+
+
+boost_glob_test_compile(. test*.cpp "" WITH_STD)
+
+boost_glob_test_run(. run*.cpp "" WITH_STD)
+
+boost_glob_test_compile_fail(config tr1_has_tr1*fail.cpp "")
+
+boost_glob_test_compile(config tr1_has_tr1*pass.cpp "")
+
+boost_glob_test_run(type_traits *.cpp "-DTEST_STD=1")
+
+boost_glob_test_compile(std_headers *.cpp "-DTEST_STD=1")
Added: branches/CMake/Boost_1_35_0/libs/tuple/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/tuple/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Tuple
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/tuple/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/tuple/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,2 @@
+boost_test_run(tuple_test_bench DEPENDS boost_test_exec_monitor)
+boost_test_run(io_test DEPENDS boost_test_exec_monitor)
Added: branches/CMake/Boost_1_35_0/libs/type_traits/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/type_traits/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Type_traits
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/type_traits/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/type_traits/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+file(GLOB TEST_FILES "*_test.cpp")
+foreach(TEST_FILE ${TEST_FILES})
+ get_filename_component(TEST_NAME ${TEST_FILE} NAME_WE)
+ boost_test_run(${TEST_NAME})
+endforeach(TEST_FILE ${TEST_FILES})
+
+boost_test_run(udt_specialisations)
Added: branches/CMake/Boost_1_35_0/libs/typeof/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/typeof/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Typeof
+ TESTDIRS test
+ )
Added: branches/CMake/Boost_1_35_0/libs/typeof/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/typeof/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,21 @@
+file(GLOB TEST_FILES "*.cpp")
+foreach(TEST_FILE ${TEST_FILES})
+ if (TEST_FILE MATCHES "odr.*cpp")
+ # Skip ODR tests; we'll handle them separately
+ else (TEST_FILE MATCHES "odr.*cpp")
+ get_filename_component(TEST_NAME ${TEST_FILE} NAME_WE)
+ boost_test_compile("${TEST_NAME}_native"
+ "${TEST_NAME}.cpp" COMPILE_FLAGS "-DBOOST_TYPEOF_NATIVE")
+ boost_test_compile("${TEST_NAME}_emulation"
+ "${TEST_NAME}.cpp" COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
+ endif (TEST_FILE MATCHES "odr.*cpp")
+endforeach(TEST_FILE ${TEST_FILES})
+
+boost_test_run(odr_native
+ odr1.cpp odr2.cpp COMPILE_FLAGS "-DBOOST_TYPEOF_NATIVE")
+boost_test_run(odr_emulation
+ odr1.cpp odr2.cpp COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
+boost_test_run(odr_no_uns
+ odr_no_uns1.cpp odr_no_uns2.cpp
+ COMPILE_FLAGS "-DBOOST_TYPEOF_EMULATION")
+
Added: branches/CMake/Boost_1_35_0/libs/utility/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/utility/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Utility
+ TESTDIRS test
+)
+
Added: branches/CMake/Boost_1_35_0/libs/utility/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/utility/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,36 @@
+boost_test_run(addressof_test ../addressof_test.cpp)
+boost_test_run(assert_test ../assert_test.cpp)
+boost_test_run(base_from_member_test ../base_from_member_test.cpp)
+boost_test_run(binary_search_test ../binary_search_test.cpp)
+boost_test_run(call_traits_test ../call_traits_test.cpp ARGS -u)
+boost_test_compile_fail(checked_delete_test ../checked_delete_test.cpp)
+boost_test_run(compressed_pair_test
+ ../compressed_pair_test
+ DEPENDS boost_test_exec_monitor)
+boost_test_run(current_function_test ../current_function_test.cpp)
+boost_test_run(iterators_test
+ ../iterators_test.cpp
+ DEPENDS boost_test_exec_monitor)
+boost_test_run(next_prior_test DEPENDS boost_test_exec_monitor)
+boost_test_compile_fail(noncopyable_test ../noncopyable_test.cpp)
+boost_test_run(numeric_traits_test ../numeric_traits_test.cpp)
+if (${CMAKE_SYSTEM} MATCHES "FreeBSD-.*")
+boost_test_compile_fail("operators_test_compilerbug")
+elseif(${CMAKE_SYSTEM} MATCHES "FreeBSD-.*")
+boost_test_run(operators_test
+ ../operators_test.cpp
+ DEPENDS boost_test_exec_monitor)
+endif(${CMAKE_SYSTEM} MATCHES "FreeBSD-.*")
+boost_test_compile(ref_ct_test ../ref_ct_test.cpp)
+boost_test_run(ref_test
+ ../ref_test.cpp
+ DEPENDS boost_test_exec_monitor)
+boost_test_compile(result_of_test)
+boost_test_run(shared_iterator_test ../shared_iterator_test.cpp)
+boost_test_run(value_init_test ../value_init_test.cpp)
+boost_test_compile_fail(value_init_test_fail1
+ ../value_init_test_fail1.cpp)
+boost_test_compile_fail(value_init_test_fail2
+ ../value_init_test_fail2.cpp)
+boost_test_compile_fail(value_init_test_fail3
+ ../value_init_test_fail3.cpp)
Added: branches/CMake/Boost_1_35_0/libs/variant/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/variant/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Variant
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/variant/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/variant/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,7 @@
+boost_test_run(test1 test1.cpp class_a.cpp)
+boost_test_run(test4 test4.cpp class_a.cpp)
+set(tests test2 test3 test5 test6 test7 test8 recursive_variant_test variant_reference_test variant_comparison_test variant_visit_test)
+
+foreach(test ${tests})
+ boost_test_run(${test})
+endforeach(test ${tests})
Added: branches/CMake/Boost_1_35_0/libs/wave/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/wave/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,5 @@
+boost_library_project(
+ Wave
+ SRCDIRS src
+ TESTDIRS test
+ )
\ No newline at end of file
Added: branches/CMake/Boost_1_35_0/libs/wave/src/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/wave/src/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,17 @@
+boost_add_library(
+ boost_wave
+ 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
+ DEPENDS boost_filesystem boost_thread boost_date_time
+ SHARED_COMPILE_FLAGS "-DBOOST_ALL_DYN_LINK=1"
+ NO_SINGLE_THREADED
+)
Added: branches/CMake/Boost_1_35_0/libs/wave/test/CMakeLists.txt
==============================================================================
Added: branches/CMake/Boost_1_35_0/libs/xpressive/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/xpressive/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,4 @@
+boost_library_project(
+ Xpressive
+ TESTDIRS test
+)
Added: branches/CMake/Boost_1_35_0/libs/xpressive/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/CMake/Boost_1_35_0/libs/xpressive/test/CMakeLists.txt 2008-05-18 00:44:49 EDT (Sun, 18 May 2008)
@@ -0,0 +1,69 @@
+# : requirements
+# <toolset>intel:<debug-symbols>off
+# <toolset>msvc,<stdlib>stlport:<define>_STLP_EXPOSE_GLOBALS_IMPLEMENTATION
+
+# [ linkp multiple_defs1.cpp multiple_defs2.cpp : : multiple_defs ]
+
+# TODO: Fix these
+# boost_test_fail("multipledefs")
+# boost_test_fail("msvc-stlport")
+
+if (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+ FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/libs/date_time/data")
+ execute_process(COMMAND cmake -E copy "${CMAKE_SOURCE_DIR}/libs/xpressive/test/regress.txt" "${CMAKE_CURRENT_BINARY_DIR}")
+endif (NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
+
+
+SET(runtests
+ regress
+ c_traits
+ test1
+ test2
+ test3
+ test4
+ test5
+ test6
+ test7
+ test8
+ test9
+ test10
+ test11
+ test1u
+ test2u
+ test3u
+ test4u
+ test5u
+ test6u
+ test7u
+ test8u
+ test9u
+ test10u
+ test11u
+ misc1
+ misc2
+ test_cycles
+ test_non_char
+ test_static
+ test_dynamic)
+
+foreach(runtest ${runtests})
+ boost_test_run(${runtest} DEPENDS boost_unit_test_framework)
+endforeach(runtest ${runtests})
+
+set(compiletests
+ test_basic_regex
+ test_match_results
+ test_regex_algorithms
+ test_regex_compiler
+ test_regex_constants
+ test_regex_error
+ test_regex_iterator
+ test_regex_primitives
+ test_regex_token_iterator
+ test_regex_traits
+ test_sub_match
+ )
+
+foreach(compiletest ${compiletests})
+ boost_test_compile(${compiletest})
+endforeach(compiletest ${compiletests})
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