From 42c437bb33261a2da5e1471195cc6a231af099f3 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Fri, 2 Apr 2021 21:51:05 +0200 Subject: [vcpkg/scripts] add variable VCPKG_CROSSCOMPILING (#16900) * add VCPKG_CROSSCOMPILING * update docs * Apply suggestions from code review Co-authored-by: nicole mazzuca * update docs Co-authored-by: nicole mazzuca --- docs/maintainers/vcpkg_common_definitions.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/maintainers/vcpkg_common_definitions.md b/docs/maintainers/vcpkg_common_definitions.md index a97723c1b..44b7ea74f 100644 --- a/docs/maintainers/vcpkg_common_definitions.md +++ b/docs/maintainers/vcpkg_common_definitions.md @@ -23,6 +23,7 @@ TARGET_TRIPLET the name of the current triplet to buil CURRENT_INSTALLED_DIR the absolute path to the installed files for the current triplet HOST_TRIPLET the name of the triplet corresponding to the host CURRENT_HOST_INSTALLED_DIR the absolute path to the installed files for the host triplet +VCPKG_CROSSCOMPILING Whether vcpkg is cross-compiling: in other words, whether TARGET_TRIPLET and HOST_TRIPLET are different ``` CMAKE_STATIC_LIBRARY_(PREFIX|SUFFIX), CMAKE_SHARED_LIBRARY_(PREFIX|SUFFIX) and CMAKE_IMPORT_LIBRARY_(PREFIX|SUFFIX) are defined for the target -- cgit v1.2.3