1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
#include "../libcppbuild.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);
}
|