6 #include "ardour/filesystem_paths.h"
7 #include "ardour/linux_vst_support.h"
8 #include "ardour/vst_info_file.h"
10 /* make stupid waf happy.
11 * waf cannot build multiple variants of .o object files from the same
12 * source using different wscripts.. it mingles e.g.
13 * build/libs/ardour/vst_info_file.cc.1.o for
14 * both lib/ardour/wscript and lib/fst/wscript
16 * ...but waf does track include dependencies.
18 #include "../ardour/vst_info_file.cc"
19 #include "../ardour/linux_vst_support.cc"
20 #include "../ardour/filesystem_paths.cc"
21 #include "../ardour/directory_names.cc"
22 #include "../pbd/error.cc"
23 #include "../pbd/basename.cc"
24 #include "../pbd/search_path.cc"
25 #include "../pbd/transmitter.cc"
26 #include "../pbd/whitespace.cc"
30 vstfx_destroy_editor (VSTState* /*vstfx*/) { }
33 int main (int argc, char **argv) {
35 fprintf(stderr, "usage: %s <vst>\n", argv[0]);
39 char *dllpath = argv[1];
40 std::vector<VSTInfo *> *infos;
42 if (strstr (dllpath, ".so" ) == 0) {
43 infos = vstfx_get_info_lx(dllpath);
47 #ifdef WINDOWS_VST_SUPPORT
48 if (strstr (dllpath, ".dll" ) == 0) {
49 infos = vstfx_get_info_fst(dllpath);