1f07b3eaeSTyler Youngvcpkg list
2f07b3eaeSTyler Young
3f07b3eaeSTyler Youngif exist ".\boringssl\CMakeLists.txt" (
4f07b3eaeSTyler Young    echo cached
5f07b3eaeSTyler Young) else (
6f07b3eaeSTyler Young    git clone https://boringssl.googlesource.com/boringssl
7f07b3eaeSTyler Young    cd boringssl
8497ec21dSGeorge Wang    git checkout cf8d3ad3cea51cf7184307d54f465da62b7d8408
9f07b3eaeSTyler Young    cmake -DCMAKE_GENERATOR_PLATFORM=x64 --config Debug -DBUILD_SHARED_LIBS=OFF -DOPENSSL_NO_ASM=1 .
10f07b3eaeSTyler Young    msbuild /m ALL_BUILD.vcxproj
11f07b3eaeSTyler Young    cd ..
12f07b3eaeSTyler Young)
13f07b3eaeSTyler Young
14f07b3eaeSTyler Younggit submodule init
15f07b3eaeSTyler Young
16f07b3eaeSTyler Younggit submodule update --checkout --force --recursive
17f07b3eaeSTyler Young
18f07b3eaeSTyler Youngset VCPKG_ROOT=c:/tools/vcpkg/
19f07b3eaeSTyler Young
20f07b3eaeSTyler Youngcmake -DCMAKE_GENERATOR_PLATFORM=x64 -DBUILD_SHARED_LIBS=OFF -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DGETOPT_INCLUDE_DIR=c:/tools/vcpkg/installed/x64-windows/include  -DGETOPT_LIB=c:/tools/vcpkg/installed/x64-windows/lib/getopt.lib -DBORINGSSL_DIR=%cd%\boringssl .
21f07b3eaeSTyler Young
22f07b3eaeSTyler Young
23f07b3eaeSTyler Youngmsbuild /m ALL_BUILD.vcxproj
24