From 85d146117ea6c54303d54e8db40d16dc20a8ae6d 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 | 22 ++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++ 3 files changed, 53 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..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/module.cmake b/module.cmake new file mode 100644 index 0000000..beb4837 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(bind DEPENDS utility mpl detail config) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..7dd5a71 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,30 @@ +boost_additional_test_dependencies(bind BOOST_DEPENDS test) + +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) +