diff --git a/runCmakeVS.cmd b/runCmakeVS.cmd index a50eed7476..32a659ace0 100644 --- a/runCmakeVS.cmd +++ b/runCmakeVS.cmd @@ -1,4 +1,5 @@ mkdir build -cmake -G "Visual Studio 16 2019" -A x64 -D BOOST_LIBRARYDIR=C:\dev\boost\lib -DBOOST_ROOT=C:\dev\boost -B build +rem amend the BOOST variables to your environment, the MSVC_RUNTIME=static is needed to avoid inclusion of 3 MSVC DLLs in deployment: msvcp.dll, vcruntime.dll and vcruntime_1.dll +cmake -G "Visual Studio 16 2019" -A x64 -DBOOST_LIBRARYDIR=C:\dev\boost\lib -DBOOST_ROOT=C:\dev\boost -DBOOST_INCLUDE_DIR=C:\dev\boost -DMSVC_RUNTIME=static -B build cmake --build build -v --config Release pause