Last active
March 29, 2024 04:30
-
-
Save benui-dev/44ec00709a4e647933ce4e81ce17df5f to your computer and use it in GitHub Desktop.
Unreal Engine Package Plugin batch script. Confirm that your plugin packages under each Unreal Engine version.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SETLOCAL | |
rem Set your plugin name, should match the .uplugin filename | |
set PLUGIN_NAME=BYGYouTrackFiller | |
rem Always add trailing space please | |
rem Don't put trailing slashes | |
set UNREAL_PATHS=E:\UE_4.25 ^ | |
E:\UE_4.26 ^ | |
E:\UE_4.27 ^ | |
E:\UE_5.0 | |
rem You might want to change this | |
set TEMP_DIR=C:\Temp\PluginTest | |
(for %%p in (%UNREAL_PATHS%) do ( | |
rem Find last path use that as our unique temp dir | |
%%p\Engine\Build\BatchFiles\RunUAT.bat BuildPlugin ^ | |
-Plugin="%~dp0%PLUGIN_NAME%.uplugin" ^ | |
-Package="%TEMP_DIR%" ^ | |
-%PLUGIN_NAME% ^ | |
-VS2019 ^ | |
-NoHostPlatform ^ | |
-StrictIncludes | |
)) | |
ENDLOCAL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment