mirror of
https://github.com/boostorg/function.git
synced 2025-07-30 04:47:14 +02:00
merged from trunk
[SVN r49607]
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
|
||||||
|
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
|
||||||
|
)
|
||||||
|
|
||||||
|
|
2
doc/CMakeLists.txt
Normal file
2
doc/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
boost_add_documentation(function.xml
|
||||||
|
faq.xml history.xml misc.xml reference.xml tests.xml tutorial.xml)
|
@ -42,7 +42,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Define BOOST_FUNCTION_STD_NS to the namespace that contains type_info.
|
// Define BOOST_FUNCTION_STD_NS to the namespace that contains type_info.
|
||||||
#ifdef BOOST_NO_EXCEPTION_STD_NAMESPACE
|
#ifdef BOOST_NO_STD_TYPEINFO
|
||||||
// Embedded VC++ does not have type_info in namespace std
|
// Embedded VC++ does not have type_info in namespace std
|
||||||
# define BOOST_FUNCTION_STD_NS
|
# define BOOST_FUNCTION_STD_NS
|
||||||
#else
|
#else
|
||||||
|
20
test/CMakeLists.txt
Normal file
20
test/CMakeLists.txt
Normal file
@ -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)
|
Reference in New Issue
Block a user