项目重构

This commit is contained in:
sansen
2026-07-29 00:28:15 +08:00
parent 2f5172cd62
commit 51b768a2ba
8 changed files with 0 additions and 1802 deletions
-51
View File
@@ -1,51 +0,0 @@
@echo off
setlocal
set "CLION_DIR=D:\JetBrains\CLion"
set "PATH=%CLION_DIR%\bin\cmake\win\x64\bin;%CLION_DIR%\bin\mingw\bin;%PATH%"
echo.
echo ========================================
echo FFmpeg-GUI Build Script
echo ========================================
echo.
if not exist build (
echo [1/3] Configuring...
cmake -B build -G "MinGW Makefiles" -S .
if errorlevel 1 (
echo ERROR: CMake configuration failed!
exit /b 1
)
) else (
echo [1/3] Build directory exists, skipping configure.
)
echo.
echo [2/3] Building...
cmake --build build
if errorlevel 1 (
echo ERROR: Build failed!
exit /b 1
)
echo.
echo [3/3] Copying runtime DLL...
if exist "%CLION_DIR%\bin\mingw\bin\libwinpthread-1.dll" (
copy /y "%CLION_DIR%\bin\mingw\bin\libwinpthread-1.dll" build\ > nul
echo libwinpthread-1.dll copied.
) else (
echo WARNING: libwinpthread-1.dll not found!
)
echo.
echo ========================================
echo Build succeeded!
echo Executable: build\ffmpeg-gui.exe
echo ========================================
echo.
echo Run it: build\ffmpeg-gui.exe
echo.
endlocal