From e6bbb336608ac6762148a299b3b1b22ba1ada7e6 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 | 25 +++++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 8 ++++++++ 3 files changed, 34 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 0000000..2241512 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,25 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + integer.hpp + integer_fwd.hpp + integer_traits.hpp + integer +) + +# Add a library target to the build system +boost_library_project( + integer + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "The organization of boost integer headers and classes is designed to take advantage of types from the 1999 C standard without resorting to undefined behavior in terms of the 1998 C++ standard. The header makes the standard integer types safely available in namespace boost without placing any names in namespace std." + MODULARIZED + AUTHORS "Beman Dawes " + "Daryle Walker " + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..d0c4293 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(integer DEPENDS utility) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..0b09839 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,8 @@ +boost_additional_test_dependencies(integer BOOST_DEPENDS test) + +boost_test_run(cstdint_test cstdint_test.cpp) +boost_test_run(integer_mask_test integer_mask_test.cpp DEPENDS boost_test_exec_monitor) +boost_test_run(integer_test integer_test.cpp DEPENDS boost_test_exec_monitor) +boost_test_run(integer_traits_test integer_traits_test.cpp DEPENDS boost_test_exec_monitor) +boost_test_run(static_log2_test static_log2_test.cpp DEPENDS boost_test_exec_monitor) +boost_test_run(static_min_max_test static_min_max_test.cpp DEPENDS boost_test_exec_monitor)