From abc4d313b44d719aa964c73cf65c62697a68d7ec Mon Sep 17 00:00:00 2001 From: "Michael A. Jackson" Date: Sat, 1 Nov 2008 13:15:41 +0000 Subject: [PATCH] Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor [SVN r49510] --- CMakeLists.txt | 22 ++++++++++++++++++++++ test/CMakeLists.txt | 18 ++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 CMakeLists.txt 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/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 000000000..0874a2f8d --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,18 @@ +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)