summaryrefslogtreecommitdiff
path: root/examples/subdir/ctor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-09-20 21:07:54 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-09-20 21:07:54 +0200
commitecfc610acff6a9359ae5e7f0b225c5b26b189591 (patch)
tree80e83e8d1113cd0e3241b897f8728505e704aced /examples/subdir/ctor.cc
parentcb5f269b13429f0e1ffbc41426227983e5ccaeba (diff)
Use 2-clause BSD-license for all source files.
Diffstat (limited to 'examples/subdir/ctor.cc')
-rw-r--r--examples/subdir/ctor.cc78
1 files changed, 78 insertions, 0 deletions
diff --git a/examples/subdir/ctor.cc b/examples/subdir/ctor.cc
new file mode 100644
index 0000000..b5f5885
--- /dev/null
+++ b/examples/subdir/ctor.cc
@@ -0,0 +1,78 @@
+// -*- c++ -*-
+// Distributed under the BSD 2-Clause License.
+// See accompanying file LICENSE for details.
+#include "../libctor.h"
+
+namespace
+{
+BuildConfigurations myConfigs()
+{
+ return
+ {
+ {
+ .target = "src.a",
+ .sources = {
+ "../drumgizmo/src/audiocache.cc",
+ "../drumgizmo/src/audiocacheeventhandler.cc",
+ "../drumgizmo/src/audiocachefile.cc",
+ "../drumgizmo/src/audiocacheidmanager.cc",
+ "../drumgizmo/src/audiofile.cc",
+ "../drumgizmo/src/audioinputengine.cc",
+ "../drumgizmo/src/audioinputenginemidi.cc",
+ "../drumgizmo/src/audiooutputengine.cc",
+ "../drumgizmo/src/bytesizeparser.cc",
+ "../drumgizmo/src/channel.cc",
+ "../drumgizmo/src/channelmixer.cc",
+ "../drumgizmo/src/configfile.cc",
+ "../drumgizmo/src/configparser.cc",
+ "../drumgizmo/src/dgxmlparser.cc",
+ "../drumgizmo/src/directory.cc",
+ "../drumgizmo/src/domloader.cc",
+ "../drumgizmo/src/drumgizmo.cc",
+ "../drumgizmo/src/drumgizmoconf.cc",
+ "../drumgizmo/src/drumkit.cc",
+ "../drumgizmo/src/drumkitloader.cc",
+ "../drumgizmo/src/events.cc",
+ "../drumgizmo/src/events_ds.cc",
+ "../drumgizmo/src/inputprocessor.cc",
+ "../drumgizmo/src/instrument.cc",
+ "../drumgizmo/src/latencyfilter.cc",
+ "../drumgizmo/src/midimapparser.cc",
+ "../drumgizmo/src/midimapper.cc",
+ "../drumgizmo/src/path.cc",
+ "../drumgizmo/src/powerlist.cc",
+ "../drumgizmo/src/powermap.cc",
+ "../drumgizmo/src/powermapfilter.cc",
+ "../drumgizmo/src/random.cc",
+ "../drumgizmo/src/sample.cc",
+ "../drumgizmo/src/sample_selection.cc",
+ "../drumgizmo/src/sem.cc",
+ "../drumgizmo/src/staminafilter.cc",
+ "../drumgizmo/src/thread.cc",
+ "../drumgizmo/src/translation.cc",
+ "../drumgizmo/src/velocityfilter.cc",
+ "../drumgizmo/src/versionstr.cc",
+ "../drumgizmo/src/zrwrapper.cc",
+ },
+ .cxxflags = {
+ "-fPIC",
+ "-DUI_X11",
+ "-O3",
+ "-g",
+ "-Wall",
+ "-Werror",
+ "-std=c++11",
+ "-I../drumgizmo/getoptpp",
+ "-I../drumgizmo/",
+ "-I../drumgizmo/hugin",
+ "-I../drumgizmo/plugingui/",
+ "-I ../drumgizmo/src/",
+ "-I ../drumgizmo/zita-resampler/libs",
+ "-I ../drumgizmo/pugixml/src",
+ },
+ }
+ };
+}
+
+int a = reg(__FILE__, myConfigs);
+}