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/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..ef4e3bc --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,13 @@ +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)