diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index b7507bd2..00000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -#---------------------------------------------------------------------------- -# This file was automatically generated from the original CMakeLists.txt file -# Add a variable to hold the headers for the library -set (lib_headers - thread.hpp - thread -) - -# Add a library target to the build system -boost_library_project( - thread - SRCDIRS src - TESTDIRS test - HEADERS ${lib_headers} - # DOCDIRS - # DESCRIPTION - MODULARIZED - # AUTHORS - # MAINTAINERS -) - - diff --git a/module.cmake b/module.cmake deleted file mode 100644 index 32b0535b..00000000 --- a/module.cmake +++ /dev/null @@ -1 +0,0 @@ -boost_module(thread DEPENDS date_time bind optional range) \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt deleted file mode 100644 index cbc975eb..00000000 --- a/src/CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -if (WIN32) - set(THREAD_SOURCES win32/thread.cpp win32/exceptions.cpp win32/tss_dll.cpp - win32/tss_pe.cpp) -else (WIN32) - set(THREAD_SOURCES pthread/thread.cpp pthread/exceptions.cpp pthread/once.cpp) -endif (WIN32) - -boost_add_library( - boost_thread - ${THREAD_SOURCES} - SHARED_COMPILE_FLAGS "-DBOOST_THREAD_BUILD_DLL=1" - STATIC_COMPILE_FLAGS "-DBOOST_THREAD_BUILD_LIB=1" - NO_SINGLE_THREADED - ) - diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt deleted file mode 100644 index 23f29399..00000000 --- a/test/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# -# Copyright Troy D. Straszheim -# -# Distributed under the Boost Software License, Version 1.0. -# See http://www.boost.org/LICENSE_1_0.txt -# -boost_additional_test_dependencies(thread BOOST_DEPENDS test ) - - - -set(TESTS -test_thread -test_thread_id -test_hardware_concurrency -test_thread_move -test_thread_launching -test_thread_mf -test_move_function -test_mutex -test_condition_notify_one -test_condition_timed_wait_times_out -test_condition_notify_all -test_condition -test_tss -test_once -test_xtime -test_barrier -test_shared_mutex -test_shared_mutex_part_2 -test_shared_mutex_timed_locks -test_lock_concept -test_generic_locks) - -foreach (TEST ${TESTS}) - boost_test_run(${TEST} MULTI_THREADED DEPENDS boost_thread boost_unit_test_framework) -endforeach (TEST ${TESTS}) - -boost_test_compile_fail(no_implicit_move_from_lvalue_thread) -boost_test_compile_fail(no_implicit_assign_from_lvalue_thread)