From 61519fcae29b2ea9e86732aed4f7adf7fb735a25 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 ++++++++++++++++++++++ test/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ 2 files changed, 50 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..f654c67 --- /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 + bind.hpp + bind +) + +# Add a library target to the build system +boost_library_project( + bind + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "A generalization of the standard functions std::bind1st and std::bind2nd. It supports arbitrary function objects, functions, function pointers, and member function pointers, and is able to bind any argument to a specific value or route input arguments into arbitrary positions." + MODULARIZED + AUTHORS "Peter Dimov " + # MAINTAINERS +) + + diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..7fe00fa --- /dev/null +++ b/test/CMakeLists.txt @@ -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) +