mirror of
https://github.com/boostorg/functional.git
synced 2025-08-01 21:44:28 +02:00
merge of cmake build files from trunk per beman
[SVN r50756]
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
|
||||||
|
functional.hpp
|
||||||
|
functional
|
||||||
|
)
|
||||||
|
|
||||||
|
# Add a library target to the build system
|
||||||
|
boost_library_project(
|
||||||
|
functional
|
||||||
|
# SRCDIRS
|
||||||
|
TESTDIRS test hash/test hash/examples
|
||||||
|
HEADERS ${lib_headers}
|
||||||
|
DOCDIRS hash/doc
|
||||||
|
# DESCRIPTION
|
||||||
|
MODULARIZED
|
||||||
|
# AUTHORS
|
||||||
|
# MAINTAINERS
|
||||||
|
)
|
||||||
|
|
||||||
|
|
2
hash/doc/CMakeLists.txt
Normal file
2
hash/doc/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
message(STATUS "functional/hash docs need love")
|
||||||
|
|
9
hash/examples/CMakeLists.txt
Normal file
9
hash/examples/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#-------------------------------------------------------------------------
|
||||||
|
#-- Needed include directories for the tests
|
||||||
|
boost_additional_test_dependencies(config BOOST_DEPENDS test)
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
boost_test_run(books)
|
||||||
|
boost_test_run(point)
|
||||||
|
boost_test_run(portable)
|
||||||
|
|
||||||
|
|
51
hash/test/CMakeLists.txt
Normal file
51
hash/test/CMakeLists.txt
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
#project hash-tests
|
||||||
|
# : requirements
|
||||||
|
# <toolset>gcc:<define>_GLIBCXX_DEBUG
|
||||||
|
# ;
|
||||||
|
if (GCC)
|
||||||
|
ADD_DEFINITIONS(-D_GLIBCXX_DEBUG)
|
||||||
|
endif(GCC)
|
||||||
|
|
||||||
|
# [ run .cpp : : : <test-info>always_show_run_output ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
#-- Needed include directories for the tests
|
||||||
|
boost_additional_test_dependencies(functional BOOST_DEPENDS test)
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
SET(tests
|
||||||
|
hash_float_test
|
||||||
|
hash_fwd_test_1
|
||||||
|
hash_fwd_test_2
|
||||||
|
hash_number_test
|
||||||
|
hash_pointer_test
|
||||||
|
hash_function_pointer_test
|
||||||
|
hash_string_test
|
||||||
|
hash_range_test
|
||||||
|
hash_custom_test
|
||||||
|
hash_global_namespace_test
|
||||||
|
hash_friend_test
|
||||||
|
hash_built_in_array_test
|
||||||
|
hash_value_array_test
|
||||||
|
hash_vector_test
|
||||||
|
hash_list_test
|
||||||
|
hash_deque_test
|
||||||
|
hash_set_test
|
||||||
|
hash_map_test
|
||||||
|
container_fwd_test
|
||||||
|
hash_no_ext_macro_1
|
||||||
|
hash_no_ext_macro_2
|
||||||
|
)
|
||||||
|
|
||||||
|
boost_test_run(link_test link_test.cpp link_test_2.cpp)
|
||||||
|
boost_test_run(link_ext_test link_ext_test.cpp link_no_ext_test.cpp)
|
||||||
|
|
||||||
|
foreach(test ${tests})
|
||||||
|
boost_test_run(${test})
|
||||||
|
endforeach(test ${tests})
|
||||||
|
|
||||||
|
boost_test_compile_fail(hash_no_ext_fail_test)
|
||||||
|
|
||||||
|
# build-project ../examples ;
|
1
module.cmake
Normal file
1
module.cmake
Normal file
@@ -0,0 +1 @@
|
|||||||
|
boost_module(functional DEPENDS integer)
|
1
test/CMakeLists.txt
Normal file
1
test/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
boost_test_run(function_test function_test.cpp)
|
Reference in New Issue
Block a user