From 264c186eacbf06cf85b18fbe2227429ed9d385eb Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Sat, 24 Jan 2009 18:57:20 +0000 Subject: [PATCH] merge of cmake build files from trunk per beman [SVN r50756] --- CMakeLists.txt | 24 ++++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 module.cmake create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..38d6b56 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,24 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + iterator.hpp + iterator +) + +# Add a library target to the build system +boost_library_project( + iterator + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "A system of concepts which extend the C++ standard iterator requirementsand a framework of components for building iterators based on these extended concepts and includes several useful iterator adaptors." + MODULARIZED + AUTHORS "David Abrahams " + "Jeremy Siek " + "Thomas Witt " + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..2e025e3 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(iterator DEPENDS mpl type_traits function concept_check) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..8cad411 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,33 @@ +boost_additional_test_dependencies(iterator BOOST_DEPENDS test tuple smart_ptr) + +# 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)