Video-Super-Resolution-Library icon indicating copy to clipboard operation
Video-Super-Resolution-Library copied to clipboard

Pkg-config file

Open 1480c1 opened this issue 1 year ago • 1 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/

1480c1 avatar May 09 '23 04:05 1480c1

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

xiaoxial avatar May 10 '23 01:05 xiaoxial