初始化代码仓

This commit is contained in:
徐海 2026-03-02 11:04:44 +08:00
commit ae17d277f9
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,13 @@
@echo off
set PROJECTDIR=%~dp0..
cd %PROJECTDIR%/bin
if exist style.rcc (
del /s /f /q theme.rcc
)
set QTDIR=C:/Qt/Qt5.13.0/5.13.0/msvc2017_64/bin
%QTDIR%/rcc --binary %PROJECTDIR%/style/Resources.qrc -o %PROJECTDIR%/bin/theme.rcc
pause

18
tools/clean_vs_tmp.bat Normal file
View File

@ -0,0 +1,18 @@
@echo off
set PROJECTDIR=%~dp0..
cd %PROJECTDIR%
for /r %%i in (vcproject,debug,release,ipch,.vs,tmp) do (
if exist %%i (
rd /s /q %%i
)
)
for /r %%i in (*.sln,*.vcxproj,*.vcxproj.filters,*.pdb,*.sdf,*.ncb,*.suo,*.exp,*.user,*.aps,*.idb,*.dep,*.opt,*.plg,*.bsc,*.ilk,*.trg) do (
if exist %%i (
del /s /f /q %%i
)
)
pause

View File

@ -0,0 +1,16 @@
@echo off
set PROJECTDIR=%~dp0..
cd %PROJECTDIR%
if exist vcproject (
rd /s /q vcproject
)
mkdir vcproject
cd vcproject
set QTDIR=C:/Qt/Qt5.13.0/5.13.0/msvc2017_64/bin
%QTDIR%/qmake -tp vc -recursive %PROJECTDIR%/EnergySpectrumAnalyer.pro
pause