代码拉取完成,页面将自动刷新
call cmake -S "%~dp0glew\build\cmake" -B "%~dp0glew\build" -A Win32
call powershell -Command "(gc %~dp0glew\build\glew_s.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>' | Out-File %~dp0glew\build\glew_s.vcxproj"
call powershell -Command "(gc %~dp0glew\build\glew_s.vcxproj) -replace '<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>', '<RuntimeLibrary>MultiThreaded</RuntimeLibrary>' | Out-File %~dp0glew\build\glew_s.vcxproj"
cd /d "%~dp0"
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
set InstallDir=%%i
)
if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
"%InstallDir%\Common7\Tools\vsdevcmd.bat" -arch=x86
MSBuild.exe "glew\build\glew.sln" /t:glew_s /p:Configuration=Release /p:Platform="Win32"
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。