Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor

[SVN r49510]
This commit is contained in:
Michael A. Jackson
2008-11-01 13:15:41 +00:00
parent 3e24330335
commit cec8e80658
3 changed files with 62 additions and 0 deletions

2
doc/CMakeLists.txt Normal file
View File

@@ -0,0 +1,2 @@
message(STATUS "functional/hash docs need love")

9
examples/CMakeLists.txt Normal file
View File

@@ -0,0 +1,9 @@
#-------------------------------------------------------------------------
#-- Needed include directories for the tests
boost_test_add_dependent_includes("utility;detail;config")
#-------------------------------------------------------------------------
boost_test_run(books)
boost_test_run(point)
boost_test_run(portable)

51
test/CMakeLists.txt Normal file
View 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_test_add_dependent_includes("utility;detail;config;preprocessor;type_traits;mpl;static_assert")
#-------------------------------------------------------------------------
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 ;