Cmake Texture project
vcpkg install
- set proxy
$env:HTTP_PROXY="localhost:4780"
$env:HTTPS_PROXY="localhost:4780"
Camke generator
Warning
- CMP0074
-
log
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Environment variable Eigen3_ROOT is set to: ... For compatibility, CMake is ignoring the variable.
- CMP0074 explain - cmake.org
- Fix
- add
cmake_policy(SET CMP0074 NEW)
orcmake_policy(SET CMP0074 OLD)
beforeproject
- add
-
inheritEnvironments
linux_arm
: Target ARM Linux remotely.linux_x64
: Target x64 Linux remotely.linux_x86
: Target x86 Linux remotely.msvc_arm
: Target ARM Windows with the MSVC compiler.msvc_arm_x64
: Target ARM Windows with the 64-bit MSVC compiler.msvc_arm64
: Target ARM64 Windows with the MSVC compiler.msvc_arm64_x64
: Target ARM64 Windows with the 64-bit MSVC compiler.msvc_x64
: Target x64 Windows with the MSVC compiler.msvc_x64_x64
: Target x64 Windows with the 64-bit MSVC compiler.msvc_x86
: Target x86 Windows with the MSVC compiler.msvc_x86_x64
: Target x86 Windows with the 64-bit MSVC compiler.