summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 23:38:03 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 23:38:03 +0000
commit4a05f65f51fca38b774f2bd5cda8e665c86f3917 (patch)
tree3333ca8e58cf48bffdfa16fadfa9905f56403c78 /wscript
parentfaad203b6ae046fb3c7e6f7f2a471787163d09b4 (diff)
downloadraul-4a05f65f51fca38b774f2bd5cda8e665c86f3917.tar.gz
raul-4a05f65f51fca38b774f2bd5cda8e665c86f3917.tar.bz2
raul-4a05f65f51fca38b774f2bd5cda8e665c86f3917.zip
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 2 insertions, 11 deletions
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)