From 2b4b5fecede7ada14ae33984247f88932df0c8fa 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 | 22 ++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 20 ++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 module.cmake create mode 100644 test/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..9b7a78675 --- /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 + math_fwd.hpp + math +) + +# Add a library target to the build system +boost_library_project( + math + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + # DESCRIPTION + MODULARIZED + # AUTHORS + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 000000000..e2220989d --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(math DEPENDS format array) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 000000000..0f4e01211 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,20 @@ +boost_additional_test_dependencies(math BOOST_DEPENDS test regex) + +boost_test_run(common_factor_test DEPENDS boost_unit_test_framework) +boost_test_run(octonion_test + ../octonion/octonion_test.cpp + DEPENDS boost_unit_test_framework) +boost_test_run(quaternion_test + ../quaternion/quaternion_test.cpp + DEPENDS boost_unit_test_framework) +boost_test_run(special_functions_test + ../special_functions/special_functions_test.cpp + DEPENDS boost_unit_test_framework) +boost_test_run(quaternion_multi_incl_test + ../quaternion/quaternion_mult_incl_test.cpp + ../quaternion/quaternion_mi1.cpp + ../quaternion/quaternion_mi2.cpp + DEPENDS boost_unit_test_framework) +boost_test_run(complex_test) +boost_test_run(hypot_test) +boost_test_run(log1p_expm1_test DEPENDS boost_regex)