--- /dev/null
+@echo off
+set "DATE_TMP=%TEMP%\~date.%RANDOM%.tmp"
+"%~dp0\_date.exe" +%%Y-%%m-%%d > "%DATE_TMP%"
+set /p OUT_DATE= < "%DATE_TMP%"
+del "%DATE_TMP%"
+set "DATE_TMP="
set "LAMEXP_REDIST=1"
)
REM ------------------------------------------
+REM :: SETUP BUILD DATE ::
+REM ------------------------------------------
+call "%~dp0\_date.bat"
+echo BUILD DATE: %OUT_DATE%
+REM ------------------------------------------
REM :: SETUP PATHS ::
REM ------------------------------------------
set "OUT_PATH=%~dp0\..\..\bin\%LAMEXP_CONFIG%"
-set "OUT_DATE=%DATE:~6,4%-%DATE:~3,2%-%DATE:~0,2%"
set "TMP_PATH=%TEMP%\~LameXP.%LAMEXP_CONFIG%.%OUT_DATE%.tmp"
set "OBJ_PATH=%~dp0\..\..\obj\%LAMEXP_CONFIG%"
set "MOC_PATH=%~dp0\..\..\tmp"