Skip to content

Commit

Permalink
Add a simple batch file to build the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 20, 2018
1 parent bcdb1f1 commit 1cf4ca2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@echo off
setlocal

cd /d %~dp0

rem add MSVC in PATH
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"

set "MSBUILD_SWITCHES=/nologo /consoleloggerparameters:Verbosity=minimal /maxcpucount /nodeReuse:true"

MSBuild.exe "jpegoptim.sln" %MSBUILD_SWITCHES%^
/target:"Rebuild" /property:Configuration="Release";Platform="x64"

:end
endlocal
rem pause
exit /b

0 comments on commit 1cf4ca2

Please sign in to comment.