Skip to content

Commit 47f98c1

Browse files
committed
Environment setup script for Windows (bash)
1 parent 97f18c8 commit 47f98c1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

env-windows.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Bash script for setting up the environmental variables.
2+
# Before running this, install vcpkg and the required packages (see README.md).
3+
# To setup the environment, source this file.
4+
export VCPKG_ROOT=$(realpath "../vcpkg/")
5+
export RUSTFLAGS='-Ctarget-feature=+crt-static'
6+
export VCPKGRS_TRIPLET='x64-windows-static-release'
7+
export TECTONIC_DEP_BACKEND='vcpkg'

0 commit comments

Comments
 (0)