From 96f9913aa8a55aa625c6509bcccad7c22d4946ca 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 | 21 +++++++++++++++++++++ test/CMakeLists.txt | 5 +++++ 2 files changed, 26 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 0000000..3859163 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,21 @@ +#---------------------------------------------------------------------------- +# This file was automatically generated from the original CMakeLists.txt file +# Add a variable to hold the headers for the library +set (lib_headers + interprocess +) + +# Add a library target to the build system +boost_library_project( + interprocess + # SRCDIRS + TESTDIRS test + HEADERS ${lib_headers} + # DOCDIRS + DESCRIPTION "Shared memory, memory mapped files, process-shared mutexes, condition variables, containers and allocators." + MODULARIZED + AUTHORS "Ion Gaztanaga " + # MAINTAINERS +) + + diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt new file mode 100644 index 0000000..82102d7 --- /dev/null +++ b/test/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB INTERPROCESS_TESTS *.cpp) +foreach(TEST ${INTERPROCESS_TESTS}) + get_filename_component(TEST ${TEST} NAME_WE) + boost_test_run(${TEST} DEPENDS boost_thread MULTI_THREADED) +endforeach() \ No newline at end of file