Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pkg-config integration #68

Open
dvzrv opened this issue Oct 31, 2020 · 1 comment
Open

add pkg-config integration #68

dvzrv opened this issue Oct 31, 2020 · 1 comment

Comments

@dvzrv
Copy link

dvzrv commented Oct 31, 2020

Providing build or runtime dependencies for a software is usually taken care of in a package management system on Linux distributions.
During build time pkg-config (or more recently the drop-in replacement pkgconf) is used by all major build systems (e.g. autotools, cmake, meson) to find dependencies, their versions, components, etc.

To make use of the vst3sdk on Linux operating systems (and also on macOS) in a useful way, an install target for files required by hosts and plugins should be defined and a pkg-config integration (a .pc file) be added.
A common location would be e.g. /usr/include/vst3sdk (in a packaging context) to host the *.cpp and *.h files from e.g. the base, pluginterfaces and public.sdk submodules.

A pkg-config integration (vst3sdk.pc) might then look like this:

Name: vst3sdk
Description: VST 3 Plug-In SDK
Version: 3.7.0_build_116
Cflags: -I/usr/include/vst3sdk
Libs:

A common location for that file is /usr/lib/pkgconfig/.

@Be-ing
Copy link

Be-ing commented Aug 19, 2021

To be completely clear, there is no conflict between installing pkgconfig and CMake config files. It is fairly easy to do both. For example, take a look at libkeyfinder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants