diff --git a/build_vc2019_x86_vcpkg.bat b/build_vc2019_x86_vcpkg.bat new file mode 100644 index 0000000..eb1d861 --- /dev/null +++ b/build_vc2019_x86_vcpkg.bat @@ -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 ..