Files
runner-images/images/linux/scripts/installers/vcpkg.sh
T

20 lines
654 B
Bash
Raw Normal View History

2020-10-07 13:49:40 +05:00
#!/bin/bash -e
################################################################################
## File: vcpkg.sh
## Desc: Installs vcpkg
################################################################################
2022-09-12 19:17:10 +02:00
# Set env variables for vcpkg
VCPKG_ROOT=/usr/local/share/vcpkg
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_ROOT}" | tee -a /etc/environment
echo "VCPKG_ROOT=${VCPKG_ROOT}" | tee -a /etc/environment
# Install vcpkg
2022-09-12 19:17:10 +02:00
git clone https://github.com/Microsoft/vcpkg $VCPKG_ROOT
2020-04-17 10:38:10 +00:00
2022-09-12 19:17:10 +02:00
$VCPKG_ROOT/bootstrap-vcpkg.sh
$VCPKG_ROOT/vcpkg integrate install
chmod 0777 -R $VCPKG_ROOT
ln -sf $VCPKG_ROOT/vcpkg /usr/local/bin
invoke_tests "Tools" "Vcpkg"