From f559986ae8e89f8f0e56da53706cbd14bf19890e 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 | 22 ++++++++++++++++++++++ doc/CMakeLists.txt | 2 ++ test/CMakeLists.txt | 20 ++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 doc/CMakeLists.txt create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..09cdec5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,22 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + function.hpp + function +) + +# Add a library target to the build system +boost_library_project( + function + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + DOCDIRS doc + # DESCRIPTION + MODULARIZED + # AUTHORS + # MAINTAINERS +) + + diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..f8483bf --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,2 @@ +boost_add_documentation(function.xml + faq.xml history.xml misc.xml reference.xml tests.xml tutorial.xml) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..51c4280 --- /dev/null +++ b/test/CMakeLists.txt @@ -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)