forked from NHERI-SimCenter/WE-UQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeZIP.bat
60 lines (44 loc) · 2.2 KB
/
makeZIP.bat
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
REM ## make the exe .. it assumes EE-UUQ_Windows_Download exists with vcredist and openssl there
cd build
conan install .. --build missing
qmake ..\WE-UQ.pro
nmake
REM ## copy application into folder and winddeployqt it
copy .\Release\WE_UQ.exe .\WE-UQ_Windows_Download
cd WE-UQ_Windows_Download
windeployqt WE_UQ.exe
REM ## copy examples
rmdir /s /q .\Examples
mkdir .\Examples
xcopy /s /e /Q ..\..\Examples .\Examples
REM ## delete applications folder and copy new stuff
rmdir /s /q .\applications
mkdir .\applications
mkdir .\applications\common
mkdir .\applications\createEDP
mkdir .\applications\createEVENT
mkdir .\applications\createSAM
mkdir .\applications\performSIMULATION
mkdir .\applications\performUQ
mkdir .\applications\Workflow
mkdir .\applications\opensees
mkdir .\applications\dakota
mkdir .\applications\python
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\common .\applications\common
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\createEDP .\applications\createEDP
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\createEVENT .\applications\createEVENT
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\createSAM .\applications\createSAM
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\performSIMULATION .\applications\performSIMULATION
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\performUQ .\applications\performUQ
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\Workflow .\applications\Workflow
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\OpenSees .\applications\opensees
xcopy /s /e ..\..\..\SimCenterBackendApplications\applications\dakota .\applications\dakota
xcopy /s /e /Q ..\..\..\SimCenterBackendApplications\applications\python .\applications\python
rmdir /s /q .\applications\createEVENT\GeoClawOpenFOAM
rmdir /s /q .\applications\createEVENT\M9
rmdir /s /q .\applications\createEVENT\multiplePEER
rmdir /s /q .\applications\createEVENT\siteResponse
rmdir /s /q .\applications\createEVENT\MPM
rmdir /s /q .\applications\createEVENT\pointWindSpeed
rmdir /s /q .\applications\createEVENT\stochasticGroundMotion
rmdir /s /q .\applications\createEVENT\uniformPEER