]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/scripts/move_thirdparty_dlls.bat
DFCH: Adding template for run automatically all the scripts
[creaToolsTools.git] / Install_ThirdParty / scripts / move_thirdparty_dlls.bat
1 @echo off
2 echo -----------------------------------
3 echo ----------Moving Dlls--------------
4 echo -----------------------------------
5 echo -----------------------------------
6 echo ---Setting Enviroment Variables----
7 echo -----------------------------------
8
9 set thirdpartyGeneration=%1
10 set thirdpartyInstallPath=%2
11
12 set installpath=%thirdpartyGeneration%\thirdparty_install
13 set binpath=%thirdpartyGeneration%\thirdparty_bin
14 set sourcepath=%thirdpartyGeneration%\thirdparty_source
15 set creaThirdPartydlls=%thirdpartyGeneration%\thirdparty_temp\creaThirdParty_dlls
16
17 set qt=Qt-4.7.3
18 set wxWidgets=wxWidgets-2.9.2
19 set boost=Boost-1.47.0
20 set xercesc=xerces-c-3.1.1
21 set itk=InsightToolkit-3.20.0
22 set gdcm=gdcm
23 set vtk=VTK
24
25 set QTDIR=%sourcepath%\%qt%
26 set WXDIR=%sourcepath%\%wxWidgets%
27 set BOOSTDIR=%sourcepath%\%boost%
28 set XERCESDIR=%sourcepath%\%xercesc%
29 set ITKSRCDIR=%sourcepath%\%itk%
30 set VTKSRCDIR=%sourcepath%\%VTK%
31 set GDCMSRCDIR=%sourcepath%\%gdcm%
32 set ITKINSTALLDIR=%installpath%\%itk%
33 set VTKINSTALLDIR=%installpath%\%vtk%
34 set GDCMINSTALLDIR=%installpath%\%gdcm%
35
36 rmdir %creaThirdPartydlls% /s /q
37
38 mkdir %creaThirdPartydlls%
39
40 echo -----------------------------------
41 echo -------------QT--------------------
42 echo -----------------------------------
43
44 copy /V /Y %QTDIR%\bin\phonon4.dll %creaThirdPartydlls%
45 copy /V /Y %QTDIR%\bin\QtCore4.dll %creaThirdPartydlls%
46 copy /V /Y %QTDIR%\bin\QtGui4.dll %creaThirdPartydlls%
47 copy /V /Y %QTDIR%\bin\QtNetwork4.dll %creaThirdPartydlls%
48 copy /V /Y %QTDIR%\bin\QtOpenGL4.dll %creaThirdPartydlls%
49 copy /V /Y %QTDIR%\bin\QtScript4.dll %creaThirdPartydlls%
50 copy /V /Y %QTDIR%\bin\QtScriptTools4.dll %creaThirdPartydlls%
51 copy /V /Y %QTDIR%\bin\QtSql4.dll %creaThirdPartydlls%
52 copy /V /Y %QTDIR%\bin\QtSvg4.dll %creaThirdPartydlls%
53 copy /V /Y %QTDIR%\bin\QtTest4.dll %creaThirdPartydlls%
54 copy /V /Y %QTDIR%\bin\QtXml4.dll %creaThirdPartydlls%
55 copy /V /Y %QTDIR%\bin\QtXmlPatterns4.dll %creaThirdPartydlls%
56
57 echo -----------------------------------
58 echo -------------wxWidgets-------------
59 echo -----------------------------------
60
61 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_net_vc_custom.dll %creaThirdPartydlls%
62 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_vc_custom.dll %creaThirdPartydlls%
63 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_xml_vc_custom.dll %creaThirdPartydlls%
64 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_adv_vc_custom.dll %creaThirdPartydlls%
65 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_aui_vc_custom.dll %creaThirdPartydlls%
66 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_core_vc_custom.dll %creaThirdPartydlls%
67 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_gl_vc_custom.dll %creaThirdPartydlls%
68 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_html_vc_custom.dll %creaThirdPartydlls%
69 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_media_vc_custom.dll %creaThirdPartydlls%
70 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_qa_vc_custom.dll %creaThirdPartydlls%
71 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_richtext_vc_custom.dll %creaThirdPartydlls%
72 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_xrc_vc_custom.dll %creaThirdPartydlls%
73
74
75 echo -----------------------------------
76 echo -------------Boost-----------------
77 echo -----------------------------------
78
79 copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-1_47.dll %creaThirdPartydlls%
80 copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
81 copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-1_47.dll %creaThirdPartydlls%
82 copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
83 copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-1_47.dll %creaThirdPartydlls%
84 copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
85 copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-1_47.dll %creaThirdPartydlls%
86 copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
87 copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-1_47.dll %creaThirdPartydlls%
88 copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
89 copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-1_47.dll %creaThirdPartydlls%
90 copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
91 copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-1_47.dll %creaThirdPartydlls%
92 copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
93 copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-1_47.dll %creaThirdPartydlls%
94 copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
95 copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-1_47.dll %creaThirdPartydlls%
96 copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
97 copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-1_47.dll %creaThirdPartydlls%
98 copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
99 copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-1_47.dll %creaThirdPartydlls%
100 copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
101 copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-1_47.dll %creaThirdPartydlls%
102 copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
103 copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-1_47.dll %creaThirdPartydlls%
104 copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
105 copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-1_47.dll %creaThirdPartydlls%
106 copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-gd-1_47.dll %creaThirdPartydlls%
107
108
109 echo -----------------------------------
110 echo -------------Xcerces---------------
111 echo -----------------------------------
112
113 copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
114
115 echo -----------------------------------
116 echo -------------ITK-------------------
117 echo -----------------------------------
118
119 copy /V /Y %ITKINSTALLDIR%\bin\ITKCommon.dll %creaThirdPartydlls%
120 copy /V /Y %ITKINSTALLDIR%\bin\itkTestDriver.exe %creaThirdPartydlls%
121
122
123 echo -----------------------------------
124 echo -------------VTK-------------------
125 echo -----------------------------------
126
127 copy /V /Y %VTKINSTALLDIR%\bin\vtkEncodeString.exe %creaThirdPartydlls%
128
129 copy /V /Y %VTKINSTALLDIR%\bin\QVTK.dll %creaThirdPartydlls%
130 copy /V /Y %VTKINSTALLDIR%\bin\vtkalglib.dll %creaThirdPartydlls%
131 copy /V /Y %VTKINSTALLDIR%\bin\vtkCommon.dll %creaThirdPartydlls%
132 copy /V /Y %VTKINSTALLDIR%\bin\vtkDICOMParser.dll %creaThirdPartydlls%
133 copy /V /Y %VTKINSTALLDIR%\bin\vtkexoIIc.dll %creaThirdPartydlls%
134 copy /V /Y %VTKINSTALLDIR%\bin\vtkexpat.dll %creaThirdPartydlls%
135 copy /V /Y %VTKINSTALLDIR%\bin\vtkFiltering.dll %creaThirdPartydlls%
136 copy /V /Y %VTKINSTALLDIR%\bin\vtkfreetype.dll %creaThirdPartydlls%
137 copy /V /Y %VTKINSTALLDIR%\bin\vtkftgl.dll %creaThirdPartydlls%
138 copy /V /Y %VTKINSTALLDIR%\bin\vtkGenericFiltering.dll %creaThirdPartydlls%
139 copy /V /Y %VTKINSTALLDIR%\bin\vtkGraphics.dll %creaThirdPartydlls%
140 copy /V /Y %VTKINSTALLDIR%\bin\vtkHybrid.dll %creaThirdPartydlls%
141 copy /V /Y %VTKINSTALLDIR%\bin\vtkImaging.dll %creaThirdPartydlls%
142 copy /V /Y %VTKINSTALLDIR%\bin\vtkInfovis.dll %creaThirdPartydlls%
143 copy /V /Y %VTKINSTALLDIR%\bin\vtkIO.dll %creaThirdPartydlls%
144 copy /V /Y %VTKINSTALLDIR%\bin\vtkjpeg.dll %creaThirdPartydlls%
145 copy /V /Y %VTKINSTALLDIR%\bin\vtklibxml2.dll %creaThirdPartydlls%
146 copy /V /Y %VTKINSTALLDIR%\bin\vtkmetaio.dll %creaThirdPartydlls%
147 copy /V /Y %VTKINSTALLDIR%\bin\vtkNetCDF.dll %creaThirdPartydlls%
148 copy /V /Y %VTKINSTALLDIR%\bin\vtkpng.dll %creaThirdPartydlls%
149 copy /V /Y %VTKINSTALLDIR%\bin\vtkproj4.dll %creaThirdPartydlls%
150 copy /V /Y %VTKINSTALLDIR%\bin\vtkRendering.dll %creaThirdPartydlls%
151 copy /V /Y %VTKINSTALLDIR%\bin\vtksys.dll %creaThirdPartydlls%
152 copy /V /Y %VTKINSTALLDIR%\bin\vtktiff.dll %creaThirdPartydlls%
153 copy /V /Y %VTKINSTALLDIR%\bin\vtkverdict.dll %creaThirdPartydlls%
154 copy /V /Y %VTKINSTALLDIR%\bin\vtkViews.dll %creaThirdPartydlls%
155 copy /V /Y %VTKINSTALLDIR%\bin\vtkVolumeRendering.dll %creaThirdPartydlls%
156 copy /V /Y %VTKINSTALLDIR%\bin\vtkWidgets.dll %creaThirdPartydlls%
157 copy /V /Y %VTKINSTALLDIR%\bin\vtkzlib.dll %creaThirdPartydlls%
158
159 echo -----------------------------------
160 echo -------------GDCM------------------
161 echo -----------------------------------
162
163 copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
164 copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
165 echo -----------------------------------
166 echo ------End of Moving Dlls-----------
167 echo -----------------------------------