Thread: Avisynth+
View Single Post
Old 28th June 2019, 16:56   #4766  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by pinterf View Post
Seems logical. You mentioned pkg-config in your comment it's only for your linux environment?
Not entirely. pkg-config can be used on Windows (particularly inside MSys2, Cygwin, etc.) or in cross-compile environments, and programs that want to link to AviSynth can refer to the pkg-config file to make sure things like the library location, includes, and any other required libraries and flags are passed to the configuration. It does generally favor the GCC or Clang-mimicking-GCC side, though, since CMakeLists.txt doesn't use the normal *nix FHS conventions when using MSBuild (although it will if using MSVC with either NMake Makefiles or Ninja).

I also use it to get the Version information parsed for the checkinstall step in the cross-compile guide, as pulling the version from the .pc file is generally easier than wrangling with other means of getting it.

Last edited by qyot27; 28th June 2019 at 16:58.
qyot27 is online now