mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 07:26:52 +08:00
cc00cf05fb
* Add libplist * Add libusbmuxd * Fix typos * Add getopt * Add libimobiledevice * Fix typos * Add libideviceactivation * Add ideviceinstaller * Include utilities * Install usbmuxd * Add readline * Fix readline on 64-bit windows * Add libirecovery * libideviceactivation: include tools * Bump versions to fix build issues * Bump versions * Add idevicerestore * [getopt][getopt-win32] Rename to getopt-win32 and only install on Windows Desktop * [readline][readline-win32] Rename to readline-win32 and only install for Windows Desktop * [vcpkg_from_github][vcpkg_apply_patches] Make PATCHES relative to the current port directory * [vcpkg_install_msbuild][vcpkg_check_linkage] Introduce vcpkg_install_msbuild() and vcpkg_check_linkage(). * [libimobiledevice et al] Use vcpkg_from_github() and vcpkg_install_msbuild() * [readline] Fix static builds
1.0 KiB
1.0 KiB
vcpkg_check_linkage
Asserts the available library and CRT linkage options for the port.
Usage
vcpkg_check_linkage(
[ONLY_STATIC_LIBRARY | ONLY_DYNAMIC_LIBRARY]
[ONLY_STATIC_CRT | ONLY_DYNAMIC_CRT]
)
Parameters
ONLY_STATIC_LIBRARY
Indicates that this port can only be built with static library linkage.
ONLY_DYNAMIC_LIBRARY
Indicates that this port can only be built with dynamic/shared library linkage.
ONLY_STATIC_CRT
Indicates that this port can only be built with static CRT linkage.
ONLY_DYNAMIC_CRT
Indicates that this port can only be built with dynamic/shared CRT linkage.
Notes
This command will either alter the settings for VCPKG_LIBRARY_LINKAGE
or fail, depending on what was requested by the user versus what the library supports.