From a7b46a0695acfa55d591b0e5ce585d9f92fdad3e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Jan 2011 19:11:13 +0000 Subject: Support via waf for running from the build directory. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2799 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index e79e44db..d2855702 100644 --- a/wscript +++ b/wscript @@ -129,7 +129,16 @@ def build(bld): bld.add_subdirs('src/gui') # Program - bld.add_subdirs('src/ingen') + obj = bld(features = 'c cxx cxxprogram') + obj.target = 'ingen' + obj.source = 'src/ingen/main.cpp' + obj.includes = ['.', 'src', 'src/common'] + obj.defines = 'VERSION="' + bld.env['INGEN_VERSION'] + '"' + obj.use = 'libingen_module libingen_shared' + obj.install_path = '${BINDIR}' + autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM REDLANDMM RAUL LV2CORE SLV2 INGEN LIBLO SOUP') + + bld.install_files('${DATADIR}/applications', 'src/ingen/ingen.desktop') # Documentation autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, top, out) -- cgit v1.2.1