19 lines
393 B
Batchfile
19 lines
393 B
Batchfile
@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
|