annotate checker.cpp @ 4:6f891a9c6434

Make checker with hard-coded knowledge about various plugin types and paths; fix some process management problems
author Chris Cannam
date Wed, 13 Apr 2016 12:00:07 +0100
parents 3bae396cf8e0
children 74064d6f5e07
rev   line source
Chris@3 1
Chris@4 2 #include "knownplugins.h"
Chris@3 3
Chris@4 4 #include <iostream>
Chris@4 5
Chris@4 6 using namespace std;
Chris@4 7
Chris@4 8 int main(int, char **)
Chris@3 9 {
Chris@4 10 KnownPlugins kp;
Chris@4 11
Chris@4 12 for (auto t: kp.getKnownPluginTypes()) {
Chris@4 13 cout << "successful libraries for plugin type \""
Chris@4 14 << kp.getTagFor(t) << "\":" << endl;
Chris@4 15 for (auto lib: kp.getCandidateLibrariesFor(t)) {
Chris@4 16 cout << lib << endl;
Chris@4 17 }
Chris@4 18 }
Chris@4 19
Chris@4 20 cout << "Failure message (if any):" << endl;
Chris@4 21 cout << kp.getFailureReport() << endl;
Chris@3 22 }
Chris@3 23