forked from boostorg/bind
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
This commit is contained in:
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@@ -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 <pdimov -at- mmltd.net>"
|
||||||
|
# MAINTAINERS
|
||||||
|
)
|
||||||
|
|
||||||
|
|
28
test/CMakeLists.txt
Normal file
28
test/CMakeLists.txt
Normal file
@@ -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)
|
||||||
|
|
Reference in New Issue
Block a user