mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-02-05 13:29:58 +00:00
330c356e71
Keeping these up-to-date is just super tedious and they don't really fulfill any purpose these days.
19 lines
660 B
Batchfile
19 lines
660 B
Batchfile
:: Copyright The Mumble Developers. All rights reserved.
|
|
:: Use of this source code is governed by a BSD-style license
|
|
:: that can be found in the LICENSE file at the root of the
|
|
:: Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
@echo off
|
|
|
|
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\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 -host_arch=x64
|
|
cmake %*
|
|
cmake --build .
|
|
exit
|
|
)
|
|
|
|
exit
|