Mercurial > hg > vamp-plugin-load-checker
comparison README @ 29:e791c1426131
Doc updates
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2017 10:18:47 +0000 |
parents | 7a20698b4c29 |
children | 4154894d638c |
comparison
equal
deleted
inserted
replaced
28:7a20698b4c29 | 29:e791c1426131 |
---|---|
16 | 16 |
17 It comes with a library (C++11, Qt) that searches for candidate plugin | 17 It comes with a library (C++11, Qt) that searches for candidate plugin |
18 files for some known formats in standard locations and runs the | 18 files for some known formats in standard locations and runs the |
19 checker program as a separate process to check whether they can be | 19 checker program as a separate process to check whether they can be |
20 loaded. This can be used to scan plugins and blacklist any that might | 20 loaded. This can be used to scan plugins and blacklist any that might |
21 crash the host on load. | 21 crash a host on load. |
22 | 22 |
23 | 23 |
24 About the command-line program | 24 About the command-line program |
25 ------------------------------ | 25 ------------------------------ |
26 | 26 |
82 library: | 82 library: |
83 | 83 |
84 $ qmake checker.pro | 84 $ qmake checker.pro |
85 $ make | 85 $ make |
86 | 86 |
87 It also builds a program called checker-client which exercises the | |
88 library by using a KnownPlugins object with the program it just | |
89 compiled and printing out the results. | |
90 | |
87 To compile only the command-line program, you should be able to use a | 91 To compile only the command-line program, you should be able to use a |
88 single C++ compiler invocation like: | 92 single C++ compiler invocation like: |
89 | 93 |
90 $ c++ -o vamp-plugin-load-checker src/helper.cpp -ldl | 94 $ c++ -o vamp-plugin-load-checker src/helper.cpp -ldl |
91 | 95 |