aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-18 16:46:31 -0500
committerDavid Robillard <d@drobilla.net>2015-02-18 16:46:31 -0500
commit7506393c934bed3f5481af592d8276d5a651aa74 (patch)
tree452c106fd21e25e303721eea9d0cfb47ee8d167b /wscript
parent9b4b2b68f50db95da7d63a62a8ebee90be58da58 (diff)
downloadlv2-7506393c934bed3f5481af592d8276d5a651aa74.tar.xz
Revert "Add preliminary C++ work."
This reverts commit 9b4b2b68f50db95da7d63a62a8ebee90be58da58.
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 0 insertions, 9 deletions
diff --git a/wscript b/wscript
index 7479315..1653b56 100644
--- a/wscript
+++ b/wscript
@@ -23,7 +23,6 @@ out = 'build'
def options(opt):
opt.load('compiler_c')
- opt.load('compiler_cxx')
opt.load('lv2')
autowaf.set_options(opt)
opt.add_option('--test', action='store_true', dest='build_tests',
@@ -32,8 +31,6 @@ def options(opt):
help='Build documentation for web hosting')
opt.add_option('--no-plugins', action='store_true', dest='no_plugins',
help='Do not build example plugins')
- opt.add_option('--no-cxx', action='store_true', dest='no_cxx',
- help='Do not build C++ plugins')
opt.add_option('--copy-headers', action='store_true', dest='copy_headers',
help='Copy headers instead of linking to bundle')
opt.recurse('lv2/lv2plug.in/ns/lv2core')
@@ -46,17 +43,11 @@ def configure(conf):
Options.options.build_tests = False
Options.options.no_plugins = True
- if not Options.options.no_plugins and not Options.options.no_cxx:
- conf.load('compiler_cxx')
- conf.env.BUILD_CXX = True
-
if Options.options.online_docs:
Options.options.docs = True
autowaf.configure(conf)
autowaf.set_c99_mode(conf)
- if conf.env.BUILD_CXX:
- conf.env.append_value('CXXFLAGS', ['-std=c++0x'])
if Options.options.ultra_strict:
conf.env.append_value('CFLAGS', ['-Wconversion'])