加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BuildAllTargets.cmd 981 Bytes
一键复制 编辑 原始数据 按行查看 历史
ShallowGreen123 提交于 2022-08-07 15:24 . init lvgl code
@rem
@rem PROJECT: Mouri Internal Library Essentials
@rem FILE: BuildAllTargets.cmd
@rem PURPOSE: Build all targets script for Visual Studio C++ Project
@rem
@rem LICENSE: The MIT License
@rem
@rem DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
@rem
@setlocal
@echo off
rem Change to the current folder.
cd "%~dp0"
rem Remove the output folder for a fresh compile.
rd /s /q Output
set VisualStudioInstallerFolder="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
if %PROCESSOR_ARCHITECTURE%==x86 set VisualStudioInstallerFolder="%ProgramFiles%\Microsoft Visual Studio\Installer"
pushd %VisualStudioInstallerFolder%
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
set VisualStudioInstallDir=%%i
)
popd
call "%VisualStudioInstallDir%\VC\Auxiliary\Build\vcvarsall.bat" x86
rem Build all targets
MSBuild -m BuildAllTargets.proj
@endlocal
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化