Skip to content

Commit

Permalink
Merge pull request #132 from danyhm/patch-1
Browse files Browse the repository at this point in the history
bat file to build restc-cpp using vcpkg in windows
  • Loading branch information
jgaa authored Jun 28, 2022
2 parents f523958 + 8a4bb0a commit cdccaaf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build_vc2019_x86_vcpkg.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
rem Example file on how to build under Windows
rem using vcpkg for x86
rem change [path to vcpkg] to your vcpkg directory

rmdir /S /Q build
mkdir build
cd build
rem -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
cmake -DVCPKG_TARGET_TRIPLET=x86-windows -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 16 2019" -A Win32 ..
cmake --build . --config Debug
cmake --build . --config Release
cd ..

0 comments on commit cdccaaf

Please sign in to comment.