From 8e75a12330ba2b1174e7f60795f2a547ae2527c0 Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Sat, 1 Nov 2008 13:15:41 +0000 Subject: [PATCH] Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor [SVN r49510] --- CMakeLists.txt | 23 +++++++++++++++++++++++ test/CMakeLists.txt | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..42bc52e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,23 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + exception.hpp + exception_ptr.hpp + exception +) + +# Add a library target to the build system +boost_library_project( + exception + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + DOCDIRS doc + DESCRIPTION "A library for transporting of arbitrary data in exception objects, and transporting of exceptions between threads." + MODULARIZED + AUTHORS "Emil Dotchevski " + # MAINTAINERS +) + + diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..f533a70 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,34 @@ + +boost_test_run(is_output_streamable_test) +boost_test_run(has_to_string_test) +boost_test_run(to_string_test) +boost_test_run(to_string_stub_test) +boost_test_compile_fail(to_string_fail) + +#exception + +boost_test_run(cloning_test) +boost_test_run(copy_exception_test) +boost_test_run(unknown_exception_test) +boost_test_run(exception_test) +#boost_test_run(boost_error_info_test) +boost_test_run(enable_error_info_test enable_error_info_test.cpp helper1.cpp) +boost_test_run(throw_exception_test throw_exception_test.cpp helper2.cpp) +boost_test_run(errno_test) +boost_test_run(error_info_test) +boost_test_run(diagnostic_information_test) +boost_test_compile_fail(exception_fail) +boost_test_compile_fail(throw_exception_fail) + +#headers + +boost_test_compile(exception_ptr_hpp_test) +boost_test_compile(diagnostic_information_hpp_test) +boost_test_compile(enable_current_exception_hpp_test) +boost_test_compile(enable_error_info_hpp_test) +boost_test_compile(error_info_hpp_test) +boost_test_compile(exception_hpp_test) +boost_test_compile(info_hpp_test) +boost_test_compile(info_tuple_hpp_test) +boost_test_compile(to_string_hpp_test) +boost_test_compile(to_string_stub_hpp_test)