From 80de3d1903d7f89ad5855a3025062c9f7622fb85 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 | 23 +++++++++++++++++++++++ module.cmake | 1 + test/CMakeLists.txt | 6 ++++++ 3 files changed, 30 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..3190d9d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,23 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + concept_check.hpp + concept_archetype.hpp + concept_check +) + +# Add a library target to the build system +boost_library_project( + concept_check + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "Tools for generic programming." + MODULARIZED + AUTHORS "Jeremy Siek " + # MAINTAINERS +) + + diff --git a/module.cmake b/module.cmake new file mode 100644 index 0000000..7519ee3 --- /dev/null +++ b/module.cmake @@ -0,0 +1 @@ +boost_module(concept_check DEPENDS preprocessor concept) \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..48c08d3 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,6 @@ +# this fails but looks like it isn't the build +# boost_test_run(../stl_concept_covering) +boost_test_run(concept_check_test ../concept_check_test.cpp) +boost_test_run(class_concept_check_test ../class_concept_check_test.cpp) +boost_test_compile_fail(concept_check_fail_expected ../concept_check_fail_expected.cpp) +boost_test_compile_fail(class_concept_fail_expected ../class_concept_fail_expected.cpp)