From 6b8df2a27d45c5f9b9286794700e7c7a631286e9 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 | 16 ++++++++++++++++ 3 files changed, 39 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..c26d3b9 --- /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 + optional.hpp + optional +) + +# Add a library target to the build system +boost_library_project( + optional + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + # DESCRIPTION + MODULARIZED + # AUTHORS + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..59d630b --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(optional DEPENDS utility) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..13439c9 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,16 @@ +boost_additional_test_dependencies(optional BOOST_DEPENDS test tuple) + + +boost_test_run(optional_test) +boost_test_run(optional_test_tie) +boost_test_run(optional_test_ref) +boost_test_run(optional_test_inplace) +boost_test_run(optional_test_io) +boost_test_compile_fail(optional_test_fail1) +boost_test_compile_fail(optional_test_fail3a) +boost_test_compile_fail(optional_test_fail3b) +boost_test_compile_fail(optional_test_ref_fail1) +boost_test_compile_fail(optional_test_ref_fail3) +boost_test_compile_fail(optional_test_ref_fail4) +boost_test_compile_fail(optional_test_inplace_fail) +boost_test_compile_fail(optional_test_inplace_fail2)