From c33935fa1fbc6b7bf394de8f2689349e74a88735 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 | 20 ++++++++++++++++++++ minmax/test/CMakeLists.txt | 4 ++++ module.cmake | 4 ++++ string/test/CMakeLists.txt | 12 ++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 minmax/test/CMakeLists.txt create mode 100644 module.cmake create mode 100644 string/test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..88cea93 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,20 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + algorithm +) + +# Add a library target to the build system +boost_library_project( + algorithm + # SRCDIRS + TESTDIRS minmax/test string/test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "A library of various algorithms." + MODULARIZED + AUTHORS "Pavol Droba " + "Herve Bronnimann " + # MAINTAINERS +) diff --git a/minmax/test/CMakeLists.txt b/minmax/test/CMakeLists.txt new file mode 100644 index 0000000..4de3f2e --- /dev/null +++ b/minmax/test/CMakeLists.txt @@ -0,0 +1,4 @@ +boost_additional_test_dependencies(algorithm BOOST_DEPENDS test) + +boost_test_run(minmax_element_test) +boost_test_run(minmax_test) diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..deb4bb2 --- /dev/null +++ b/module.cmake @@ -0,0 +1,4 @@ +boost_module(algorithm DEPENDS regex concept_check range) + + + diff --git a/string/test/CMakeLists.txt b/string/test/CMakeLists.txt new file mode 100644 index 0000000..d432866 --- /dev/null +++ b/string/test/CMakeLists.txt @@ -0,0 +1,12 @@ +boost_additional_test_dependencies(algorithm BOOST_DEPENDS test) + + +boost_test_run(trim_test) +boost_test_run(conv_test) +boost_test_run(predicate_test) +boost_test_run(find_test) +boost_test_run(split_test) +boost_test_run(join_test) +boost_test_run(replace_test) +boost_test_run(regex_test DEPENDS boost_regex SHARED) +