OpenVisualCloud/Video-Super-Resolution-Library

Pkg-config file

1480c1 opened this issue · 2 comments

A pkg-confg (.pc) file would be nice for better integration within the open source ecosystem by way of providing an easier way to declare what CFLAGS and LDFLAGS are needed for proper compilation. This would help prevent needing the user to supply them manually, such as through --extra-cflags="-fopenmp -I../Video-Super-Resolution-Library/install/include/" and --extra-libs='-lraisr -lstdc++ -lippcore -lippvm -lipps -lippi'.

A basic pkg-config file can be observed at https://people.freedesktop.org/~dbn/pkg-config-guide.html and can be configured/generated by cmake as mentioned in https://www.scivision.dev/cmake-generate-pkg-config/

Thank you for such a good suggestion, we will improve in the feature.

@1480c1 Step by step we are moving forward - some projects already utilize the pkg workflow, RAISR will too after upcoming major update. Thanks one more time and I encourage you to check the all in one stack:

Intel® Tiber™ Broadcast Suite package docker build script it includes RAISR too.

RAISR part: Intel® Library for Video Super Resolution (RAISR) for Intel® Tiber™ Broadcast Suite

image