diff --git a/ThirdParty/CommonLibF4 b/ThirdParty/CommonLibF4 new file mode 160000 index 0000000..5ba1928 --- /dev/null +++ b/ThirdParty/CommonLibF4 @@ -0,0 +1 @@ +Subproject commit 5ba1928a32c6ccd5690164b79066fc2f5dcb5c65 diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..03209d6 --- /dev/null +++ b/build.bat @@ -0,0 +1,23 @@ +@echo off +setlocal + +cd /d "%~dp0" + +where xmake >nul 2>&1 +if errorlevel 1 ( + echo xmake was not found on PATH. + echo Install xmake 3.0.0 or newer from https://xmake.io + exit /b 1 +) + +echo Building F4SEPluginTemplate... +xmake build +if errorlevel 1 ( + echo Build failed. + exit /b 1 +) + +echo. +echo Build succeeded. +echo Plugin staged to: package\F4SE\Plugins\ +exit /b 0