初始化代码仓
This commit is contained in:
commit
ae17d277f9
13
tools/build_resource_file.bat
Normal file
13
tools/build_resource_file.bat
Normal 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
18
tools/clean_vs_tmp.bat
Normal 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
|
||||||
16
tools/generate_vc_project.bat
Normal file
16
tools/generate_vc_project.bat
Normal 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
|
||||||
Loading…
Reference in New Issue
Block a user