Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.25 KB

x_vcpkg_pkgconfig_get_modules.md

File metadata and controls

44 lines (32 loc) · 1.25 KB

x_vcpkg_pkgconfig_get_modules

The latest version of this document lives in the vcpkg repo.

Experimental Retrieve required module information from pkgconfig modules

Usage

x_vcpkg_pkgconfig_get_modules(
    PREFIX <prefix>
    MODULES <pkgconfig_modules>...
    [LIBS]
    [LIBRARIES]
    [LIBRARIES_DIRS]
    [INCLUDE_DIRS]
)

Parameters

PREFIX

Used variable prefix to use

MODULES

List of pkgconfig modules to retrieve information for.

LIBS

Returns "${PKGCONFIG}" --libs in LIBS(DEBUG|RELEASE)

LIBRARIES

Returns "${PKGCONFIG}" --libs-only-l in LIBRARIES(DEBUG|RELEASE)

LIBRARIES_DIRS

Returns "${PKGCONFIG}" --libs-only-L in LIBRARIES_DIRS(DEBUG|RELEASE)

INCLUDE_DIRS

Returns "${PKGCONFIG}" --cflags-only-I in INCLUDE_DIRS(DEBUG|RELEASE)

Examples

Source

ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake