summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-12-18 17:08:38 +0000
committerDavid Robillard <d@drobilla.net>2009-12-18 17:08:38 +0000
commitc9150118609fd6304af284b1dbd60e673c5de8fa (patch)
treea0fe2af0e589796fae66bea5a5e5c0c1d7610bbb
parentfc56a92847ff6ae474f0aad3167ba2f55196c395 (diff)
downloadingen-c9150118609fd6304af284b1dbd60e673c5de8fa.tar.gz
ingen-c9150118609fd6304af284b1dbd60e673c5de8fa.tar.bz2
ingen-c9150118609fd6304af284b1dbd60e673c5de8fa.zip
Install headers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2310 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/client/wscript3
-rw-r--r--src/engine/wscript3
-rw-r--r--src/gui/wscript3
-rw-r--r--src/ingen/main.cpp4
-rw-r--r--src/module/wscript3
-rw-r--r--src/serialisation/wscript3
-rw-r--r--src/shared/wscript3
-rw-r--r--wscript3
8 files changed, 23 insertions, 2 deletions
diff --git a/src/client/wscript b/src/client/wscript
index 53601150..ea0eef85 100644
--- a/src/client/wscript
+++ b/src/client/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/client', '*.hpp')
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
ClientStore.cpp
diff --git a/src/engine/wscript b/src/engine/wscript
index faee5517..ee98b125 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/engine', '*.hpp')
+
core_source = '''
AudioBuffer.cpp
BufferFactory.cpp
diff --git a/src/gui/wscript b/src/gui/wscript
index c3e618b6..93084654 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/gui', '*.hpp')
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
App.cpp
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index a7762a72..8155e133 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -32,7 +32,6 @@
#include "module/ingen_module.hpp"
#include "module/Module.hpp"
#include "module/World.hpp"
-#include "engine/tuning.hpp"
#include "engine/Engine.hpp"
#include "engine/QueuedEngineInterface.hpp"
#include "engine/JackAudioDriver.hpp"
@@ -155,8 +154,9 @@ main(int argc, char** argv)
Ingen::OSCEngineReceiver* (*new_receiver)(
Ingen::Engine& engine, size_t queue_size, uint16_t port);
if (engine_osc_module->get_symbol("new_osc_receiver", (void*&)new_receiver)) {
+ static const size_t queue_size = 1024; // FIXME
SharedPtr<EventSource> source(new_receiver(*engine,
- pre_processor_queue_size, args.engine_port_arg));
+ queue_size, args.engine_port_arg));
world->local_engine->add_event_source(source);
}
}
diff --git a/src/module/wscript b/src/module/wscript
index 6c7e726e..318bf645 100644
--- a/src/module/wscript
+++ b/src/module/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/module', '*.hpp')
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
Module.cpp
diff --git a/src/serialisation/wscript b/src/serialisation/wscript
index 3aebc016..b2639dc0 100644
--- a/src/serialisation/wscript
+++ b/src/serialisation/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/serialisation', '*.hpp')
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
Parser.cpp
diff --git a/src/shared/wscript b/src/shared/wscript
index 3f60752c..27105f43 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -2,6 +2,9 @@
import autowaf
def build(bld):
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/shared', '*.hpp')
+
obj = bld.new_task_gen('cxx', 'shlib')
obj.source = '''
Builder.cpp
diff --git a/wscript b/wscript
index 9ab3592b..d99db144 100644
--- a/wscript
+++ b/wscript
@@ -80,6 +80,9 @@ def build(bld):
opts = Options.options
opts.datadir = opts.datadir or bld.env['PREFIX'] + 'share'
opts.moduledir = opts.moduledir or bld.env['PREFIX'] + 'lib/ingen'
+
+ # Headers
+ bld.install_files('${INCLUDEDIR}/ingen/interface', 'src/common/interface/*.hpp')
# Modules
bld.add_subdirs('src/engine')