]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | cmake_minimum_required(VERSION 3.0) |
2 | project(libstk) | |
3 | ||
4 | set(LIBSTK_SOURCES | |
5 | src/ADSR.cpp | |
6 | src/Asymp.cpp | |
7 | src/BandedWG.cpp | |
8 | src/BeeThree.cpp | |
9 | src/BiQuad.cpp | |
10 | src/Blit.cpp | |
11 | src/BlitSaw.cpp | |
12 | src/BlitSquare.cpp | |
13 | src/BlowBotl.cpp | |
14 | src/BlowHole.cpp | |
15 | src/Bowed.cpp | |
16 | src/Brass.cpp | |
17 | src/Chorus.cpp | |
18 | src/Clarinet.cpp | |
19 | src/Delay.cpp | |
20 | src/DelayA.cpp | |
21 | src/DelayL.cpp | |
22 | src/Drummer.cpp | |
23 | src/Echo.cpp | |
24 | src/Envelope.cpp | |
25 | src/FileLoop.cpp | |
26 | src/FileRead.cpp | |
27 | src/FileWrite.cpp | |
28 | src/FileWvIn.cpp | |
29 | src/FileWvOut.cpp | |
30 | src/Fir.cpp | |
31 | src/Flute.cpp | |
32 | src/FM.cpp | |
33 | src/FMVoices.cpp | |
34 | src/FormSwep.cpp | |
35 | src/FreeVerb.cpp | |
36 | src/Granulate.cpp | |
37 | src/Guitar.cpp | |
38 | src/HevyMetl.cpp | |
39 | src/Iir.cpp | |
40 | src/JCRev.cpp | |
41 | src/LentPitShift.cpp | |
42 | src/Makefile.in | |
43 | src/Mandolin.cpp | |
44 | src/Mesh2D.cpp | |
45 | src/Messager.cpp | |
46 | src/MidiFileIn.cpp | |
47 | src/Modal.cpp | |
48 | src/ModalBar.cpp | |
49 | src/Modulate.cpp | |
50 | src/Moog.cpp | |
51 | src/Noise.cpp | |
52 | src/NRev.cpp | |
53 | src/OnePole.cpp | |
54 | src/OneZero.cpp | |
55 | src/PercFlut.cpp | |
56 | src/Phonemes.cpp | |
57 | src/PitShift.cpp | |
58 | src/Plucked.cpp | |
59 | src/PoleZero.cpp | |
60 | src/PRCRev.cpp | |
61 | src/Resonate.cpp | |
62 | src/Rhodey.cpp | |
63 | src/Sampler.cpp | |
64 | src/Saxofony.cpp | |
65 | src/Shakers.cpp | |
66 | src/Simple.cpp | |
67 | src/SineWave.cpp | |
68 | src/SingWave.cpp | |
69 | src/Sitar.cpp | |
70 | src/Skini.cpp | |
71 | src/Sphere.cpp | |
72 | src/StifKarp.cpp | |
73 | src/Stk.cpp | |
74 | src/TapDelay.cpp | |
75 | src/TubeBell.cpp | |
76 | src/Twang.cpp | |
77 | src/TwoPole.cpp | |
78 | src/TwoZero.cpp | |
79 | src/Voicer.cpp | |
80 | src/VoicForm.cpp | |
81 | src/Whistle.cpp | |
82 | src/Wurley.cpp) | |
83 | ||
84 | set(LIBSTK_REALTIME_SOURCES | |
85 | src/InetWvIn.cpp | |
86 | src/InetWvOut.cpp | |
87 | src/Mutex.cpp | |
88 | src/RtAudio.cpp | |
89 | src/RtMidi.cpp | |
90 | src/RtWvIn.cpp | |
91 | src/RtWvOut.cpp | |
92 | src/Socket.cpp | |
93 | src/TcpClient.cpp | |
94 | src/TcpServer.cpp | |
95 | src/Thread.cpp | |
96 | src/UdpSocket.cpp | |
97 | ) | |
98 | ||
99 | set(LIBSTK_HEADERS | |
100 | include/ADSR.h | |
101 | include/Asymp.h | |
102 | include/BandedWG.h | |
103 | include/BeeThree.h | |
104 | include/BiQuad.h | |
105 | include/Blit.h | |
106 | include/BlitSaw.h | |
107 | include/BlitSquare.h | |
108 | include/BlowBotl.h | |
109 | include/BlowHole.h | |
110 | include/Bowed.h | |
111 | include/BowTable.h | |
112 | include/Brass.h | |
113 | include/Chorus.h | |
114 | include/Clarinet.h | |
115 | include/Cubic.h | |
116 | include/Delay.h | |
117 | include/DelayA.h | |
118 | include/DelayL.h | |
119 | include/Drummer.h | |
120 | include/Echo.h | |
121 | include/Effect.h | |
122 | include/Envelope.h | |
123 | include/FileLoop.h | |
124 | include/FileRead.h | |
125 | include/FileWrite.h | |
126 | include/FileWvIn.h | |
127 | include/FileWvOut.h | |
128 | include/Filter.h | |
129 | include/Fir.h | |
130 | include/Flute.h | |
131 | include/FM.h | |
132 | include/FMVoices.h | |
133 | include/FormSwep.h | |
134 | include/FreeVerb.h | |
135 | include/Function.h | |
136 | include/Generator.h | |
137 | include/Granulate.h | |
138 | include/Guitar.h | |
139 | include/HevyMetl.h | |
140 | include/Iir.h | |
141 | include/InetWvIn.h | |
142 | include/InetWvOut.h | |
143 | include/Instrmnt.h | |
144 | include/JCRev.h | |
145 | include/JetTable.h | |
146 | include/LentPitShift.h | |
147 | include/Mandolin.h | |
148 | include/Mesh2D.h | |
149 | include/Messager.h | |
150 | include/MidiFileIn.h | |
151 | include/Modal.h | |
152 | include/ModalBar.h | |
153 | include/Modulate.h | |
154 | include/Moog.h | |
155 | include/Mutex.h | |
156 | include/Noise.h | |
157 | include/NRev.h | |
158 | include/OnePole.h | |
159 | include/OneZero.h | |
160 | include/PercFlut.h | |
161 | include/Phonemes.h | |
162 | include/PitShift.h | |
163 | include/Plucked.h | |
164 | include/PoleZero.h | |
165 | include/PRCRev.h | |
166 | include/ReedTable.h | |
167 | include/Resonate.h | |
168 | include/Rhodey.h | |
169 | include/RtAudio.h | |
170 | include/RtMidi.h | |
171 | include/RtWvIn.h | |
172 | include/RtWvOut.h | |
173 | include/Sampler.h | |
174 | include/Saxofony.h | |
175 | include/Shakers.h | |
176 | include/Simple.h | |
177 | include/SineWave.h | |
178 | include/SingWave.h | |
179 | include/Sitar.h | |
180 | include/Skini.h | |
181 | include/SKINImsg.h | |
182 | include/SKINItbl.h | |
183 | include/Socket.h | |
184 | include/Sphere.h | |
185 | include/StifKarp.h | |
186 | include/Stk.h | |
187 | include/TapDelay.h | |
188 | include/TcpClient.h | |
189 | include/TcpServer.h | |
190 | include/Thread.h | |
191 | include/TubeBell.h | |
192 | include/Twang.h | |
193 | include/TwoPole.h | |
194 | include/TwoZero.h | |
195 | include/UdpSocket.h | |
196 | include/Vector3D.h | |
197 | include/Voicer.h | |
198 | include/VoicForm.h | |
199 | include/Whistle.h | |
200 | include/Wurley.h | |
201 | include/WvIn.h | |
202 | include/WvOut.h | |
203 | ) | |
204 | ||
205 | add_library(libstk ${LIBSTK_SOURCES}) | |
206 | target_include_directories(libstk PRIVATE include PUBLIC $<INSTALL_INTERFACE:include>) | |
207 | set_target_properties(libstk PROPERTIES PUBLIC_HEADER "${LIBSTK_HEADERS}") | |
208 | target_compile_definitions(libstk PRIVATE __LITTLE_ENDIAN__) | |
209 | ||
210 | install(TARGETS libstk EXPORT unofficial-libstk-config | |
211 | LIBRARY DESTINATION lib | |
212 | ARCHIVE DESTINATION lib | |
213 | RUNTIME DESTINATION bin | |
214 | PUBLIC_HEADER DESTINATION include/stk) | |
215 | install(EXPORT unofficial-libstk-config NAMESPACE unofficial::libstk:: DESTINATION share/unofficial-libstk) |