-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathofVisualGenerator.qbs
153 lines (142 loc) · 5.03 KB
/
ofVisualGenerator.qbs
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import qbs
import qbs.Process
import qbs.File
import qbs.FileInfo
import qbs.TextFile
import "../../../libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp
Project{
property string of_root: '../../..'
ofApp {
name: { return FileInfo.baseName(path) }
files: [
'src/CircleGrow.cpp',
'src/CircleGrow.h',
'src/MainMixer.cpp',
'src/MainMixer.h',
'src/ManagerLayer.cpp',
'src/ManagerLayer.h',
'src/Overlay.h',
'src/ParticleGrowTexture.cpp',
'src/ParticleGrowTexture.h',
'src/ParticleSystem.cpp',
'src/ParticleSystem.h',
'src/ParticleSystemTexture.cpp',
'src/ParticleSystemTexture.h',
'src/PreviewApp.cpp',
'src/PreviewApp.h',
'src/SimpleDots.cpp',
'src/SimpleDots.h',
'src/SimpleStripes.cpp',
'src/SimpleStripes.h',
'src/SongBeamer.cpp',
'src/SongBeamer.h',
'src/SoundAnalyzer.cpp',
'src/SoundAnalyzer.h',
'src/SpectrumVisu.cpp',
'src/SpectrumVisu.h',
'src/SphereGrow.cpp',
'src/SphereGrow.h',
'src/StripeCubes.cpp',
'src/StripeCubes.h',
'src/StripeSpiral.cpp',
'src/StripeSpiral.h',
'src/TextureGen.h',
'src/VjObject.cpp',
'src/VjObject.h',
'src/WaveMeshAdvTex.cpp',
'src/WaveMeshAdvTex.h',
'src/WaveMeshOverlay.cpp',
'src/WaveMeshOverlay.h',
'src/WaveMeshTexture.cpp',
'src/WaveMeshTexture.h',
'src/kiss/_kiss_fft_guts.h',
'src/kiss/kiss_fft.c',
'src/kiss/kiss_fft.h',
'src/kiss/kiss_fftr.c',
'src/kiss/kiss_fftr.h',
'src/kiss/kissfft.hh',
'src/main.cpp',
'src/ofApp.cpp',
'src/ofApp.h',
'src\CircleGrow.cpp',
'src\CircleGrow.h',
'src\Layer.cpp',
'src\Layer.h',
'src\Overlay.h',
'src\ParticleGrowTexture.cpp',
'src\ParticleGrowTexture.h',
'src\ParticleSystem.cpp',
'src\ParticleSystem.h',
'src\ParticleSystemTexture.cpp',
'src\ParticleSystemTexture.h',
'src\SimpleDots.cpp',
'src\SimpleDots.h',
'src\SimpleStripes.cpp',
'src\SimpleStripes.h',
'src\SphereGrow.cpp',
'src\SphereGrow.h',
'src\StripeCubes.cpp',
'src\StripeCubes.h',
'src\StripeSpiral.cpp',
'src\StripeSpiral.h',
'src\TextureGen.h',
'src\VjObject.cpp',
'src\VjObject.h',
'src\WaveMeshAdvTex.cpp',
'src\WaveMeshAdvTex.h',
'src\WaveMeshOverlay.cpp',
'src\WaveMeshOverlay.h',
'src\WaveMeshTexture.cpp',
'src\WaveMeshTexture.h',
'src\main.cpp',
'src\ofApp.cpp',
'src\ofApp.h',
]
of.addons: [
'ofxGui',
'ofxAnimatable',
'ofxLayer',
'ofxOsc',
'ofxNDI',
'ofxNetwork',
'ofxShader',
'ofxXmlSettings',
]
// This project is using addons.make to include the addons
// since it was imported from old code. To change it to include
// the addons from the qbs file change the following lines to
// the list of used addons in array format. eg:
//
// of.addons: [
// 'ofxGui',
// 'ofxOpenCv',
// ]
// additional flags for the project. the of module sets some
// flags by default to add the core libraries, search paths...
// this flags can be augmented through the following properties:
of.pkgConfigs: [] // list of additional system pkgs to include
of.includePaths: [] // include search paths
of.cFlags: [] // flags passed to the c compiler
of.cxxFlags: [] // flags passed to the c++ compiler
of.linkerFlags: [] // flags passed to the linker
of.defines: [] // defines are passed as -D to the compiler
// and can be checked with #ifdef or #if in the code
of.frameworks: [] // osx only, additional frameworks to link with the project
// other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
// eg: this will enable ccache when compiling
//
// cpp.compilerWrapper: 'ccache'
Depends{
name: "cpp"
}
// common rules that parse the include search paths, core libraries...
Depends{
name: "of"
}
// dependency with the OF library
Depends{
name: "openFrameworks"
}
}
references: [FileInfo.joinPaths(of_root, "/libs/openFrameworksCompiled/project/qtcreator/openFrameworks.qbs")]
}