This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
StationObscurum_Unreal/Plugins/FabulousDualSense/BuildPlugin.bat

19 lines
563 B
Batchfile
Raw Normal View History

2023-09-19 01:40:39 +02:00
@echo off
set EngineVesion=5.2
for /f "skip=2 tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\EpicGames\Unreal Engine\%EngineVesion%" /v "InstalledDirectory"') do set "EngineDirectory=%%b"
set AutomationToolPath="%EngineDirectory%\Engine\Build\BatchFiles\RunUAT.bat"
set PluginPath="%cd%\FabulousDualSense.uplugin"
set OutputPath="%cd%\Build"
title Build Plugin
echo Automation Tool Path: %AutomationToolPath%
echo:
call %AutomationToolPath% BuildPlugin -Plugin=%PluginPath% -Package=%OutputPath% -Rocket -TargetPlatforms=Win64
echo:
pause
exit 0