feat: add export / file packing
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
rem Builds a Release export of Lightkeeper (build\export\Release) and opens the folder
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist build\CMakeCache.txt (
|
||||
cmake -S . -B build || goto :failed
|
||||
)
|
||||
cmake --build build --config Release --target Export --parallel || goto :failed
|
||||
|
||||
explorer build\export\Release
|
||||
exit /b 0
|
||||
|
||||
:failed
|
||||
echo.
|
||||
echo Export failed, see the output above.
|
||||
pause
|
||||
exit /b 1
|
||||
Reference in New Issue
Block a user