-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBASIC256PortableSupportFileCopy.bat
More file actions
89 lines (71 loc) · 3.25 KB
/
BASIC256PortableSupportFileCopy.bat
File metadata and controls
89 lines (71 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
REM # BATCH FILE TO COPY THE DLL AND SUPPORT FILES INTO
REM # THE BASIC256Portable folder SO THAT THEY MAY BE
REM # INCLUDED IN THE PORTABLE DISTRIBUTION
REM # DATE...... PROGRAMMER... VERSION.... DESCRIPTION...
REM # 2013-11-11 j.m.reneau 1.0.0 original coding
REM # 2014-01-05 j.m.reneau 1.0.7 added qt sql
REM # 2014-04-19 j.m.reneau 1.1.1.3 moved development to qt 5.2.1
REM # 2014-06-01 j.m.reneau 1.1.2.4 changed paths to qt 5.3
REM # 2014-10-26 j.m.reneau 1.1.4.0 added serialport
REM # 2016-01-01 j.m.reneau 1.99.99.08 moved to 5.5
REM # 2016-10-31 j.m.reneau 1.99.99.72 moved to qt 5.7
REM # 2020-04-28 j.m.reneau 2.0.0.1 moved to QT 5.14.2
REM # 2020-09-05 j.m.reneau 2.0.1.0 changed TTS to use QQ Library and updated to qt 5.15.0
REM # Iterate through development and propduction folders
FOR %%F IN (BASIC256Portable BASIC256PortableDebug) DO (call :foldercreate %%F)
goto :eof
REM # ACTUALLY Create and Fill
:foldercreate
set SDK_BIN=C:\Qt\5.15.0\mingw81_32\bin
set SDK_LIB=C:\Qt\5.15.0\mingw81_32\lib
set SDK_PLUGINS=C:\Qt\5.15.0\mingw81_32\plugins
set INSTDIR=%1\App\BASIC256
echo %INSTDIR%
rmdir /s /q %INSTDIR%
mkdir %INSTDIR%
mkdir %INSTDIR%\Translations
xcopy Translations\*.qm %INSTDIR%\Translations
mkdir %INSTDIR%\Modules
xcopy Modules\* %INSTDIR%\Modules
mkdir %INSTDIR%\audio
xcopy %SDK_PLUGINS%\audio\qtaudio_windows.dll %INSTDIR%\audio
mkdir %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qgif.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qico.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qjpeg.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qsvg.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qtga.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qtiff.dll %INSTDIR%\imageformats
xcopy %SDK_PLUGINS%\imageformats\qwbmp.dll %INSTDIR%\imageformats
mkdir %INSTDIR%\platforms
xcopy %SDK_PLUGINS%\platforms\qwindows.dll %INSTDIR%\platforms
mkdir %INSTDIR%\printsupport
xcopy %SDK_PLUGINS%\printsupport\windowsprintersupport.dll %INSTDIR%\printsupport
mkdir %INSTDIR%\sqldrivers
xcopy %SDK_PLUGINS%\sqldrivers\qsqlite.dll %INSTDIR%\sqldrivers
mkdir %INSTDIR%\mediaservice
xcopy %SDK_PLUGINS%\mediaservice\dsengine.dll %INSTDIR%\mediaservice
xcopy %SDK_PLUGINS%\mediaservice\qtmedia_audioengine.dll %INSTDIR%\mediaservice
mkdir %INSTDIR%\playlistformats
xcopy %SDK_PLUGINS%\playlistformats\qtmultimedia_m3u.dll %INSTDIR%\playlistformats
mkdir %INSTDIR%\texttospeech
xcopy %SDK_PLUGINS%\texttospeech\qtexttospeech_sapi.dll %INSTDIR%\texttospeech
xcopy ChangeLog %INSTDIR%
xcopy CONTRIBUTORS %INSTDIR%
xcopy license.txt %INSTDIR%
xcopy %SDK_BIN%\libgcc_s_dw2-1.dll %INSTDIR%
xcopy %SDK_BIN%\libstdc++-6.dll %INSTDIR%
xcopy %SDK_BIN%\libwinpthread-1.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Core.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Gui.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Multimedia.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5MultimediaWidgets.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Network.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5OpenGL.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5PrintSupport.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5SerialPort.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Sql.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5TextToSpeech.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5WebKit.dll %INSTDIR%
xcopy %SDK_BIN%\Qt5Widgets.dll %INSTDIR%
goto :eof