summaryrefslogtreecommitdiffstats
path: root/src/client/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 15:50:32 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 15:50:32 +0000
commit4957c342b592ac1cc2c8983d1acfe957def8b3c6 (patch)
tree8872dae307c3e13f7efdabd033afd548e5351163 /src/client/wscript
parentbcc2b2a1032306711591ae59205b81ed67d08387 (diff)
downloadingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.tar.gz
ingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.tar.bz2
ingen-4957c342b592ac1cc2c8983d1acfe957def8b3c6.zip
Use modern terser waf syntax.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3556 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/wscript')
-rw-r--r--src/client/wscript43
1 files changed, 22 insertions, 21 deletions
diff --git a/src/client/wscript b/src/client/wscript
index 9466300e..5238b4bf 100644
--- a/src/client/wscript
+++ b/src/client/wscript
@@ -2,35 +2,36 @@
from waflib.extras import autowaf as autowaf
def build(bld):
- obj = bld(features = 'cxx cxxshlib')
+ obj = bld(features = 'cxx cxxshlib',
+ includes = ['..', '../..', '../../include'],
+ export_includes = ['../../include'],
+ name = 'libingen_client',
+ target = 'ingen_client',
+ install_path = '${LIBDIR}',
+ use = 'libingen_shared')
+ autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE LILV SUIL RAUL SORD SOUP SIGCPP LIBLO SOUP')
+
obj.source = '''
- ClientStore.cpp
- NodeModel.cpp
- ObjectModel.cpp
- PatchModel.cpp
- PluginModel.cpp
- PluginUI.cpp
- PortModel.cpp
- ThreadedSigClientInterface.cpp
- ingen_client.cpp
+ ClientStore.cpp
+ NodeModel.cpp
+ ObjectModel.cpp
+ PatchModel.cpp
+ PluginModel.cpp
+ PluginUI.cpp
+ PortModel.cpp
+ ThreadedSigClientInterface.cpp
+ ingen_client.cpp
'''
if bld.is_defined('HAVE_SOUP'):
obj.source += '''
- HTTPClientReceiver.cpp
- HTTPEngineSender.cpp
+ HTTPClientReceiver.cpp
+ HTTPEngineSender.cpp
'''
if bld.is_defined('HAVE_LIBLO'):
obj.source += '''
- OSCClientReceiver.cpp
- OSCEngineSender.cpp
+ OSCClientReceiver.cpp
+ OSCEngineSender.cpp
'''
- obj.includes = ['.', '..', '../..', '../../include']
- obj.export_includes = ['../../include']
- obj.name = 'libingen_client'
- obj.target = 'ingen_client'
- obj.install_path = '${LIBDIR}'
- obj.use = 'libingen_shared'
- autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE LILV SUIL RAUL SORD SOUP SIGCPP LIBLO SOUP')