diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8eda13c --- /dev/null +++ b/CMakeLists.txt @@ -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 + 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..dcd2cb0 --- /dev/null +++ b/minmax/test/CMakeLists.txt @@ -0,0 +1,8 @@ +#------------------------------------------------------------------------- +#-- Needed include directories for the tests +boost_test_add_dependent_includes("utility;detail;config;test;mpl;bind;type_traits;static_assert;preprocessor;array;iterator;timer;tuple;range") +#------------------------------------------------------------------------- + + +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..fbc6c52 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(algorithm DEPENDS regex concept_check) \ No newline at end of file diff --git a/string/test/CMakeLists.txt b/string/test/CMakeLists.txt new file mode 100644 index 0000000..f69e592 --- /dev/null +++ b/string/test/CMakeLists.txt @@ -0,0 +1,16 @@ +#------------------------------------------------------------------------- +#-- Needed include directories for the tests +boost_test_add_dependent_includes("utility;detail;config;test;mpl;bind;type_traits;static_assert;preprocessor;array;iterator;exception;range;timer") +#------------------------------------------------------------------------- + + +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) +