appveyor-windows.cmd revision 497ec21d
1vcpkg list
2
3if exist ".\boringssl\CMakeLists.txt" (
4    echo cached
5) else (
6    git clone https://boringssl.googlesource.com/boringssl
7    cd boringssl
8    git checkout cf8d3ad3cea51cf7184307d54f465da62b7d8408
9    cmake -DCMAKE_GENERATOR_PLATFORM=x64 --config Debug -DBUILD_SHARED_LIBS=OFF -DOPENSSL_NO_ASM=1 .
10    msbuild /m ALL_BUILD.vcxproj
11    cd ..
12)
13
14git submodule init
15
16git submodule update --checkout --force --recursive
17
18set VCPKG_ROOT=c:/tools/vcpkg/
19
20cmake -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 .
21
22
23msbuild /m ALL_BUILD.vcxproj
24