osquery-1/tools/make-win64-binaries.bat

16 lines
422 B
Batchfile

call "%VS140COMNTOOLS%vcvarsqueryregistry.bat" 64bit
call "%VCINSTALLDIR%vcvarsall.bat" amd64
mkdir .\build\windows10
cd .\build\windows10
cmake ..\.. -G "Visual Studio 14 2015 Win64"
for %%t in (shell,daemon,osquery_tests,osquery_additional_tests,osquery_tables_tests) do (
cmake --build . --target %%t --config Release -- /maxcpucount /verbosity:minimal
if errorlevel 1 goto end
)
ctest --output-on-failure
:end