From 4a05f65f51fca38b774f2bd5cda8e665c86f3917 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Jan 2013 23:38:03 +0000 Subject: Remove Raul::SharedPtr and switch to std::shared_ptr. Use project local short type aliases for shared_ptr and friends. Move Raul::Disposable and Raul::Manageable into Raul::Maid. Use sets to store machina nodes and edges to avoid O(n) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4939 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index a26c041..b0f9c4d 100644 --- a/wscript +++ b/wscript @@ -57,14 +57,8 @@ def configure(conf): define_name='HAVE_GCOV', mandatory=False) - if Options.options.cpp0x: - conf.env.append_value('CXXFLAGS', ['-std=c++0x']) - autowaf.check_header(conf, 'cxx', 'memory') - autowaf.check_header(conf, 'cxx', 'atomic') - autowaf.define(conf, 'RAUL_CPP0x', 1) - else: - autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp') - autowaf.check_header(conf, 'cxx', 'boost/weak_ptr.hpp') + autowaf.check_header(conf, 'cxx', 'memory') + autowaf.check_header(conf, 'cxx', 'atomic') # TODO: Version includes and use autowaf.set_lib_env() here conf.env['INCLUDES_RAUL'] = [os.path.abspath(top) + '/raul'] @@ -79,7 +73,6 @@ tests = ''' test/atom_test test/double_buffer_test test/path_test - test/ptr_test test/queue_test test/ringbuffer_test test/sem_test @@ -124,8 +117,6 @@ def build(bld): target = i, install_path = '', cxxflags = test_cxxflags) - if bld.env.RAUL_CPP0x: - obj.defines = ['RAUL_CPP0x'] # Documentation autowaf.build_dox(bld, 'RAUL', RAUL_VERSION, top, out) -- cgit v1.2.1