forked from boostorg/smart_ptr
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
This commit is contained in:
30
CMakeLists.txt
Normal file
30
CMakeLists.txt
Normal file
@ -0,0 +1,30 @@
|
||||
#----------------------------------------------------------------------------
|
||||
# This file was automatically generated from the original CMakeLists.txt file
|
||||
# Add a variable to hold the headers for the library
|
||||
set (lib_headers
|
||||
enable_shared_from_this.hpp
|
||||
pointer_cast.hpp
|
||||
scoped_array.hpp
|
||||
scoped_ptr.hpp
|
||||
shared_array.hpp
|
||||
shared_ptr.hpp
|
||||
weak_ptr.hpp
|
||||
)
|
||||
|
||||
# Add a library target to the build system
|
||||
boost_library_project(
|
||||
smart_ptr
|
||||
# SRCDIRS
|
||||
TESTDIRS test
|
||||
HEADERS ${lib_headers}
|
||||
# DOCDIRS
|
||||
DESCRIPTION "Five smart pointer class templates."
|
||||
MODULARIZED
|
||||
AUTHORS "Greg Colvin"
|
||||
"Beman Dawes <bdawes -at- acm.org>"
|
||||
"Peter Dimov <pdimov -at- mmltd.net>"
|
||||
"Darin Adler"
|
||||
# MAINTAINERS
|
||||
)
|
||||
|
||||
|
1
module.cmake
Normal file
1
module.cmake
Normal file
@ -0,0 +1 @@
|
||||
boost_module(smart_ptr DEPENDS utility)
|
15
test/CMakeLists.txt
Normal file
15
test/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
boost_test_run(smart_ptr_test)
|
||||
boost_test_run(shared_ptr_basic_test)
|
||||
boost_test_run(shared_ptr_test)
|
||||
boost_test_run(weak_ptr_test)
|
||||
boost_test_run(shared_from_this_test)
|
||||
boost_test_run(get_deleter_test)
|
||||
boost_test_run(intrusive_ptr_test)
|
||||
boost_test_run(atomic_count_test)
|
||||
boost_test_run(lw_mutex_test)
|
||||
boost_test_compile_fail(shared_ptr_assign_fail)
|
||||
boost_test_compile_fail(shared_ptr_delete_fail)
|
||||
boost_test_run(shared_ptr_alloc2_test)
|
||||
boost_test_run(pointer_cast_test)
|
||||
boost_test_compile(pointer_to_other_test)
|
||||
boost_test_run(auto_ptr_rv_test)
|
Reference in New Issue
Block a user