mirror of
https://github.com/boostorg/boost.git
synced 2026-07-21 13:53:34 +00:00
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
[SVN r56941]
This commit is contained in:
-259
@@ -1,259 +0,0 @@
|
||||
##########################################################################
|
||||
# CMake Build Rules for Boost #
|
||||
##########################################################################
|
||||
# Copyright (C) 2007, 2008 Douglas Gregor <doug.gregor@gmail.com> #
|
||||
# Copyright (C) 2007, 2009 Troy Straszheim <troy@resophonic.com> #
|
||||
# #
|
||||
# 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 #
|
||||
##########################################################################
|
||||
|
||||
# We parse the version information from the boost/version.hpp header.
|
||||
file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/boost/version.hpp BOOST_VERSIONSTR
|
||||
REGEX "#define[ ]+BOOST_VERSION[ ]+[0-9]+")
|
||||
string(REGEX MATCH "[0-9]+" BOOST_VERSIONSTR ${BOOST_VERSIONSTR})
|
||||
if (BOOST_VERSIONSTR)
|
||||
math(EXPR BOOST_VERSION_MAJOR "${BOOST_VERSIONSTR} / 100000")
|
||||
math(EXPR BOOST_VERSION_MINOR "${BOOST_VERSIONSTR} / 100 % 1000")
|
||||
math(EXPR BOOST_VERSION_SUBMINOR "${BOOST_VERSIONSTR} % 100")
|
||||
set(BOOST_VERSION "${BOOST_VERSION_MAJOR}.${BOOST_VERSION_MINOR}.${BOOST_VERSION_SUBMINOR}")
|
||||
message(STATUS "Boost version ${BOOST_VERSION}")
|
||||
else()
|
||||
message(FATAL_ERROR
|
||||
"Unable to parse Boost version from ${CMAKE_CURRENT_SOURCE_DIR}/boost/version.hpp")
|
||||
endif()
|
||||
|
||||
# Make sure that we reconfigure when boost/version.hpp changes.
|
||||
configure_file(boost/version.hpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/version.stamp)
|
||||
##########################################################################
|
||||
|
||||
# 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(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
||||
##########################################################################
|
||||
# Boost CMake modules #
|
||||
##########################################################################
|
||||
list(APPEND CMAKE_MODULE_PATH ${Boost_SOURCE_DIR}/tools/build/CMake)
|
||||
include(BoostUtils)
|
||||
include(BoostConfig)
|
||||
include(BoostCore)
|
||||
include(BoostDocs)
|
||||
include(CTest)
|
||||
include(BoostTesting)
|
||||
message(STATUS "Build name: ${BUILDNAME}")
|
||||
##########################################################################
|
||||
|
||||
##########################################################################
|
||||
# Build Features and Variants #
|
||||
##########################################################################
|
||||
|
||||
# Determine default settings for the variable BUILD_feature options
|
||||
if (MSVC)
|
||||
set(BUILD_SINGLE_THREADED_DEFAULT OFF)
|
||||
else ()
|
||||
set(BUILD_SINGLE_THREADED_DEFAULT OFF)
|
||||
endif ()
|
||||
|
||||
# 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"
|
||||
${BUILD_SINGLE_THREADED_DEFAULT})
|
||||
option(BUILD_MULTI_THREADED "Whether to build multi-threaded libraries" ON)
|
||||
|
||||
if(UNIX)
|
||||
option(BUILD_VERSIONED "Add versioning information to names of built files" OFF)
|
||||
else(UNIX)
|
||||
option(BUILD_VERSIONED "Add versioning information to names of built files" ON)
|
||||
endif(UNIX)
|
||||
|
||||
# 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)
|
||||
boost_add_default_variant(SINGLE_THREADED MULTI_THREADED)
|
||||
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(BUILD_VERSIONED)
|
||||
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)
|
||||
else(BUILD_VERSIONED)
|
||||
set(BOOST_HEADER_DIR "include/")
|
||||
endif(BUILD_VERSIONED)
|
||||
install(DIRECTORY boost
|
||||
DESTINATION ${BOOST_HEADER_DIR}
|
||||
PATTERN "CVS" EXCLUDE
|
||||
PATTERN ".svn" EXCLUDE)
|
||||
#
|
||||
# TDS 20080526: Getting a segfault here even with the ifs. At r45780, with these lines
|
||||
# uncommented:
|
||||
# 1. cmake the workspace
|
||||
# 2. run ccmake and turn OFF BUILD_MULTI_THREADED and BUILD_SHARED
|
||||
# 3. 'c' to configure
|
||||
# 4. 'g' to generate.... segfault.
|
||||
# 5. run rebuild_cache at the command line: no segfault this time.
|
||||
#
|
||||
# With these lines commented out, step 4 above does not segfault.
|
||||
#
|
||||
#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)
|
||||
##########################################################################
|
||||
|
||||
##########################################################################
|
||||
# Binary packages #
|
||||
##########################################################################
|
||||
set(CPACK_PACKAGE_NAME "Boost")
|
||||
set(CPACK_PACKAGE_VENDOR "Boost.org")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Boost ${BOOST_VERSION}")
|
||||
|
||||
if (EXISTS "${Boost_SOURCE_DIR}/README.txt")
|
||||
message(STATUS "Using generic cpack package description file.")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${Boost_SOURCE_DIR}/README.txt")
|
||||
set(CPACK_RESOURCE_FILE_README "${Boost_SOURCE_DIR}/README.txt")
|
||||
endif ()
|
||||
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${Boost_SOURCE_DIR}/LICENSE_1_0.txt")
|
||||
if (EXISTS "${Boost_SOURCE_DIR}/Welcome.txt")
|
||||
message(STATUS "Using generic cpack welcome file.")
|
||||
set(CPACK_RESOURCE_FILE_WELCOME "${Boost_SOURCE_DIR}/Welcome.txt")
|
||||
endif()
|
||||
|
||||
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")
|
||||
|
||||
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@lists.boost.org")
|
||||
set(CPACK_NSIS_MODIFY_PATH ON)
|
||||
|
||||
# Encode the compiler name in the package
|
||||
if (MSVC60)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc6")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Microsoft Visual C++ 6")
|
||||
elseif (MSVC70)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc7")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Microsoft Visual Studio 2002")
|
||||
elseif (MSVC71)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc71")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Microsoft Visual Studio 2003")
|
||||
elseif (MSVC80)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc8")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Microsoft Visual Studio 2005")
|
||||
elseif (MSVC90)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc9")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Microsoft Visual Studio 2008")
|
||||
elseif (BORLAND)
|
||||
set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-borland")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_DISPLAY_NAME} for Borland C++ Builder")
|
||||
endif (MSVC60)
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "${CPACK_NSIS_DISPLAY_NAME}")
|
||||
endif(WIN32 AND NOT UNIX)
|
||||
include(CPack)
|
||||
|
||||
option(BOOST_INSTALLER_ON_THE_FLY
|
||||
"Whether to build installers that download components on-the-fly" OFF)
|
||||
|
||||
if (BOOST_INSTALLER_ON_THE_FLY)
|
||||
if(COMMAND cpack_configure_downloads)
|
||||
cpack_configure_downloads(
|
||||
"http://www.osl.iu.edu/~dgregor/Boost-CMake/${BOOST_VERSION}/"
|
||||
ALL ADD_REMOVE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
##########################################################################
|
||||
|
||||
##########################################################################
|
||||
# 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)
|
||||
|
||||
# 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 documentation
|
||||
add_subdirectory(doc)
|
||||
|
||||
# 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)
|
||||
##########################################################################
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
## This file should be placed in the root directory of your project.
|
||||
## Then modify the CMakeLists.txt file in the root directory of your
|
||||
## project to incorporate the testing dashboard.
|
||||
## # The following are required to uses Dart and the Cdash dashboard
|
||||
## ENABLE_TESTING()
|
||||
## INCLUDE(CTest)
|
||||
set(CTEST_PROJECT_NAME "Boost")
|
||||
set(CTEST_NIGHTLY_START_TIME "03:00:00 EST")
|
||||
|
||||
set(CTEST_DROP_METHOD "http")
|
||||
set(CTEST_DROP_SITE "www.cdash.org")
|
||||
set(CTEST_DROP_LOCATION "/CDashPublic/submit.php?project=Boost")
|
||||
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||
@@ -1,9 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
if (BUILD_DOCUMENTATION)
|
||||
add_subdirectory(src)
|
||||
endif ()
|
||||
@@ -1,19 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
if (BUILD_DOCUMENTATION_HTML)
|
||||
# Install style sheets and the main Boost logo
|
||||
install(FILES boostbook.css docutils.css reference.css ../../boost.png
|
||||
DESTINATION share/boost-${BOOST_VERSION}/html)
|
||||
|
||||
# Install images
|
||||
install(DIRECTORY images
|
||||
DESTINATION share/boost-${BOOST_VERSION}/html
|
||||
COMPONENT Core
|
||||
PATTERN "CVS" EXCLUDE
|
||||
PATTERN ".svn" EXCLUDE)
|
||||
endif ()
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
# 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_CURRENT_SOURCE_DIR}" "*/${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_CURRENT_SOURCE_DIR}/${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})
|
||||
|
||||
# Write out a GraphViz file containing inter-library dependencies.
|
||||
set(BOOST_DEPENDENCY_GRAPHVIZ_FILE "${Boost_BINARY_DIR}/dependencies.dot")
|
||||
file(WRITE ${BOOST_DEPENDENCY_GRAPHVIZ_FILE} "digraph boost {\n")
|
||||
foreach(SUBDIR ${BOOST_SUBPROJECT_DIRS})
|
||||
string(TOUPPER "BOOST_${SUBDIR}_COMPILED_LIB" BOOST_COMPILED_LIB_VAR)
|
||||
if (${BOOST_COMPILED_LIB_VAR})
|
||||
file(APPEND ${BOOST_DEPENDENCY_GRAPHVIZ_FILE} " \"${SUBDIR}\" [style=\"filled\" fillcolor=\"#A3A27C\" shape=\"box\"];\n ")
|
||||
endif (${BOOST_COMPILED_LIB_VAR})
|
||||
string(TOUPPER "BOOST_${SUBDIR}_DEPENDS" DEPENDS_VAR)
|
||||
if(DEFINED ${DEPENDS_VAR})
|
||||
foreach(DEP ${${DEPENDS_VAR}})
|
||||
file(APPEND ${BOOST_DEPENDENCY_GRAPHVIZ_FILE}
|
||||
" \"${SUBDIR}\" -> \"${DEP}\";\n")
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
file(APPEND ${BOOST_DEPENDENCY_GRAPHVIZ_FILE} " \"test\" [style=\"filled\" fillcolor=\"#A3A27C\" shape=\"box\"];\n ")
|
||||
file(APPEND ${BOOST_DEPENDENCY_GRAPHVIZ_FILE} "}\n")
|
||||
+1
-1
Submodule libs/accumulators updated: 66e645de27...b0732d3746
+1
-1
Submodule libs/algorithm updated: 62ec675581...d735b9fa1e
+1
-1
Submodule libs/any updated: b3c9437188...fa5090a375
+1
-1
Submodule libs/array updated: 5661b8cd63...99631823f6
+1
-1
Submodule libs/asio updated: 286aa642f4...4cd8a968f8
+1
-1
Submodule libs/assign updated: 9b7d4ec5e1...548b266b4a
+1
-1
Submodule libs/bimap updated: 21d8cfd23a...a8d0d33be3
+1
-1
Submodule libs/bind updated: 961c3c5fa9...8b58b0d207
+1
-1
Submodule libs/circular_buffer updated: f2247e1b9b...cde2abac0c
+1
-1
Submodule libs/compatibility updated: aba743e062...1f87ecee01
+1
-1
Submodule libs/concept_check updated: 199cb1692b...08250885bf
+1
-1
Submodule libs/config updated: d9ea70034c...b6760d3082
+1
-1
Submodule libs/conversion updated: 04f73e5a89...5b6e39b2b8
+1
-1
Submodule libs/crc updated: 12a9407193...0cede1d2fb
+1
-1
Submodule libs/date_time updated: 865feda955...0d90e990da
+1
-1
Submodule libs/detail updated: debb7ae2de...1ede593bc2
+1
-1
Submodule libs/disjoint_sets updated: c5f2adb3e3...2b59e13342
+1
-1
Submodule libs/dynamic_bitset updated: e3a2ca7276...d77a2c4afa
+1
-1
Submodule libs/exception updated: 6434a2031c...502488fd4d
+1
-1
Submodule libs/filesystem updated: 355de67c37...1f27355719
+1
-1
Submodule libs/flyweight updated: cbb82a1ff7...e8c1a3772f
+1
-1
Submodule libs/foreach updated: a6cbbb6eeb...775c269348
+1
-1
Submodule libs/format updated: 3e0eb908c1...53e64bc058
+1
-1
Submodule libs/function updated: c398dfceb3...24a7ce00a8
+1
-1
Submodule libs/function_types updated: 91f47b7bc6...6ba2a45f5f
+1
-1
Submodule libs/functional updated: 75da5b4735...1697609dce
+1
-1
Submodule libs/fusion updated: 46fc256c2f...b22e2b64da
+1
-1
Submodule libs/gil updated: 4cc46fd8f6...6c4bc7af41
+1
-1
Submodule libs/graph updated: bc3a645196...6a287972d4
+1
-1
Submodule libs/graph_parallel updated: 6a25eefbc5...746a486eb5
+1
-1
Submodule libs/integer updated: a1bf7131b3...be17e798df
+1
-1
Submodule libs/interprocess updated: bfccd13f03...ef725ba8d2
+1
-1
Submodule libs/intrusive updated: 90823da7bd...35bf5010cf
+1
-1
Submodule libs/io updated: 8631d8087c...772d182b24
+1
-1
Submodule libs/iostreams updated: ebece2f4bd...b2ecfe1ce7
+1
-1
Submodule libs/iterator updated: 25d4d34ebe...cfc04ce11e
+1
-1
Submodule libs/lambda updated: 22bc52b7c4...e368877636
+1
-1
Submodule libs/logic updated: 987080a8c7...b86917fe43
+1
-1
Submodule libs/math updated: 6227f67d75...e47ecaa975
+1
-1
Submodule libs/mpi updated: d9138b55d4...46d0e86b90
+1
-1
Submodule libs/mpl updated: e6ba4cc17c...62d52d9d8b
+1
-1
Submodule libs/multi_array updated: 6f00b4609c...2325f8bd8c
+1
-1
Submodule libs/multi_index updated: b185884ffe...d2efd9d5ed
@@ -1,27 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
#----------------------------------------------------------------------------
|
||||
# This file was automatically generated from the original CMakeLists.txt file
|
||||
# Add a variable to hold the headers for the library
|
||||
set (lib_headers
|
||||
numeric
|
||||
)
|
||||
|
||||
# Add a library target to the build system
|
||||
boost_library_project(
|
||||
numeric
|
||||
# SRCDIRS
|
||||
TESTDIRS conversion/test interval/test ublas/test
|
||||
HEADERS ${lib_headers}
|
||||
# DOCDIRS
|
||||
# DESCRIPTION
|
||||
MODULARIZED
|
||||
# AUTHORS
|
||||
# MAINTAINERS
|
||||
)
|
||||
|
||||
|
||||
+1
-1
Submodule libs/numeric/conversion updated: 8a0a8727b9...0047a2d734
+1
-1
Submodule libs/numeric/interval updated: e8990d5ee5...52f15b31b5
@@ -1 +0,0 @@
|
||||
boost_module(numeric DEPENDS logic serialization)
|
||||
+1
-1
Submodule libs/numeric/ublas updated: de89f982bf...85cfcbeb46
+1
-1
Submodule libs/optional updated: a81ac6e5aa...04c1b67629
+1
-1
Submodule libs/parameter updated: 7ff5c4b996...9f4334c1c1
+1
-1
Submodule libs/pool updated: 30fae18016...c115cad4fd
+1
-1
Submodule libs/preprocessor updated: 0decc801d5...d674ec9d6e
+1
-1
Submodule libs/program_options updated: 67ba23b8d9...5820ee9f7f
+1
-1
Submodule libs/property_map updated: 33f07e37c4...6855812263
+1
-1
Submodule libs/property_tree updated: f9ea6a190e...235fedba4e
+1
-1
Submodule libs/proto updated: b3c924cf0f...3fffa1ca37
+1
-1
Submodule libs/ptr_container updated: 0fa632d480...fa825c651e
+1
-1
Submodule libs/python updated: 89100353db...d804f1250e
+1
-1
Submodule libs/random updated: 615e38f704...4c7045aee9
+1
-1
Submodule libs/range updated: a39946c55d...29fa877949
+1
-1
Submodule libs/rational updated: d996df2b26...9e13da68bd
+1
-1
Submodule libs/regex updated: 438dcae4e4...d8c6fe7ce8
+1
-1
Submodule libs/serialization updated: f2bd611587...f0a7a8e6cf
+1
-1
Submodule libs/signals updated: 8b85039293...02fde934de
+1
-1
Submodule libs/signals2 updated: d152979271...3ce9fe3182
+1
-1
Submodule libs/smart_ptr updated: 63b17c24ea...e94f64039d
+1
-1
Submodule libs/spirit updated: ac554a87c7...c4b83d6391
+1
-1
Submodule libs/statechart updated: 0bde704d41...92f4f38d18
+1
-1
Submodule libs/static_assert updated: 9e4d6dfeff...23d7abde22
+1
-1
Submodule libs/system updated: 691fb5522c...cf8fbe855f
+1
-1
Submodule libs/test updated: 841e657e84...75cabc016c
+1
-1
Submodule libs/thread updated: 0e69edd066...fb54acfe69
+1
-1
Submodule libs/timer updated: fd47bfb1ad...224856657e
+1
-1
Submodule libs/tokenizer updated: 820c466e60...b34778664a
+1
-1
Submodule libs/tr1 updated: a5a2f9b36a...1e6263e0e9
+1
-1
Submodule libs/tuple updated: 509bd47ef8...e36faf7e25
+1
-1
Submodule libs/type_traits updated: aff3d68580...3ac7119088
+1
-1
Submodule libs/typeof updated: 0f21fe555a...4aab62e71c
+1
-1
Submodule libs/units updated: 2b11c193cc...cac8b7a4c6
+1
-1
Submodule libs/unordered updated: 06b0b1d31c...14e09a5456
+1
-1
Submodule libs/utility updated: c131cbd0b2...ee146a02a1
+1
-1
Submodule libs/variant updated: e0151cc209...4f4555fa93
+1
-1
Submodule libs/wave updated: 5b146a3c72...74fdb2e2ae
+1
-1
Submodule libs/xpressive updated: ca39c99b42...8f6ba00016
@@ -1,89 +0,0 @@
|
||||
#
|
||||
# Copyright Troy D. Straszheim
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
# return a list of directories that we should add_subdirectory()
|
||||
macro(boost_collect_lib_dependencies varname filename)
|
||||
#message(STATUS "boost_collect_lib_dependencies.... ${Boost_SOURCE_DIR}/libs")
|
||||
file(GLOB BOOST_LIBRARY_CMAKE_FILES
|
||||
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${Boost_SOURCE_DIR}/libs/*/${filename}")
|
||||
foreach(BOOST_LIB_CMAKE_FILE ${BOOST_LIBRARY_CMAKE_FILES})
|
||||
#message(STATUS "-- BOOST_LIB_CMAKE_FILE: ${BOOST_LIB_CMAKE_FILE}")
|
||||
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_lib_dependencies varname)
|
||||
|
||||
|
||||
# Find all of the subdirectories with .cmake files in them. These are
|
||||
# the libraries with dependencies.
|
||||
boost_collect_lib_dependencies(BOOST_MODULE_DIRS "module.cmake")
|
||||
foreach(subdir ${BOOST_MODULE_DIRS})
|
||||
# message(STATUS "${Boost_SOURCE_DIR}/libs/${subdir}/module.cmake")
|
||||
include("${Boost_SOURCE_DIR}/libs/${subdir}/module.cmake")
|
||||
endforeach(subdir)
|
||||
|
||||
|
||||
###############################################################################
|
||||
# This macro is an internal utility macro
|
||||
# TODO: Document this if it stays around
|
||||
#
|
||||
#
|
||||
# example usage:
|
||||
# boost_tool_dependencies( BOOST_DEPENDS test)
|
||||
#
|
||||
macro(boost_tool_dependencies)
|
||||
parse_arguments(BOOST_TEST
|
||||
"BOOST_DEPENDS"
|
||||
""
|
||||
${ARGN}
|
||||
)
|
||||
set (THIS_TEST_DEPENDS_ALL "")
|
||||
# message (STATUS "BOOST_TEST_BOOST_DEPENDS: ${BOOST_TEST_BOOST_DEPENDS}")
|
||||
foreach(libname ${BOOST_TEST_BOOST_DEPENDS})
|
||||
# message(STATUS "libname: ${libname}")
|
||||
string(TOUPPER "BOOST_${libname}_DEPENDS" THIS_PROJECT_DEPENDS)
|
||||
# message(STATUS "${THIS_PROJECT_DEPENDS}: ${${THIS_PROJECT_DEPENDS}}")
|
||||
# set(THIS_TEST_DEPENDS_ALL ${libname} ${${THIS_PROJECT_DEPENDS}} )
|
||||
# message(STATUS "${THIS_TEST_DEPENDS_ALL}: ${${THIS_TEST_DEPENDS_ALL}}")
|
||||
|
||||
list(FIND THIS_TEST_DEPENDS_ALL ${libname} DEPDEP_INDEX)
|
||||
if (DEPDEP_INDEX EQUAL -1)
|
||||
list(APPEND THIS_TEST_DEPENDS_ALL ${libname})
|
||||
set(ADDED_DEPS TRUE)
|
||||
endif()
|
||||
string(TOUPPER "BOOST_${libname}_DEPENDS" THIS_PROJECT_DEPENDS)
|
||||
# message(STATUS "${additional_lib}: ===> ${${THIS_PROJECT_DEPENDS}}")
|
||||
set(ADDED_DEPS TRUE)
|
||||
while (ADDED_DEPS)
|
||||
set(ADDED_DEPS FALSE)
|
||||
foreach(DEP ${THIS_TEST_DEPENDS_ALL})
|
||||
string(TOUPPER "BOOST_${DEP}_DEPENDS" DEP_DEPENDS)
|
||||
foreach(DEPDEP ${${DEP_DEPENDS}})
|
||||
list(FIND THIS_TEST_DEPENDS_ALL ${DEPDEP} DEPDEP_INDEX)
|
||||
if (DEPDEP_INDEX EQUAL -1)
|
||||
list(APPEND THIS_TEST_DEPENDS_ALL ${DEPDEP})
|
||||
set(ADDED_DEPS TRUE)
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
endwhile()
|
||||
# message(STATUS "-> Dependencies for ${libname}")
|
||||
# message(STATUS "-> THIS_TEST_DEPENDS_ALL: ${THIS_TEST_DEPENDS_ALL}")
|
||||
|
||||
endforeach(libname ${BOOST_TEST_BOOST_DEPENDS})
|
||||
foreach (include ${THIS_TEST_DEPENDS_ALL})
|
||||
#message(STATUS "include: ${include}")
|
||||
include_directories("${Boost_SOURCE_DIR}/libs/${include}/include")
|
||||
endforeach (include ${includes})
|
||||
|
||||
endmacro(boost_tool_dependencies)
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# add_subdirectory(quickbook)
|
||||
# add_subdirectory(wave)
|
||||
add_subdirectory(bcp)
|
||||
add_subdirectory(inspect)
|
||||
+1
-1
Submodule tools/bcp updated: 4ac9fdd898...87511233de
+1
-1
Submodule tools/build updated: ffc4dcfb04...1ebf7d5386
+1
-1
Submodule tools/inspect updated: 0dcb6534b3...9de1f3d7f7
+1
-1
Submodule tools/quickbook updated: 6977d5f96e...0f8c4eb5fb
Reference in New Issue
Block a user