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