]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/scripts/move_thirdparty_dlls.bat
f2da22774a31460f8d39d19daed1b548621141ab
[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.8.12
19 set boost=Boost-1.46.1
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 BOOSTINSTALLDIR=%installpath%\%boost%
33 set ITKINSTALLDIR=%installpath%\%itk%
34 set VTKINSTALLDIR=%installpath%\%vtk%
35 set GDCMINSTALLDIR=%installpath%\%gdcm%
36
37 rmdir %creaThirdPartydlls% /s /q
38
39 mkdir %creaThirdPartydlls%
40
41 echo -----------------------------------
42 echo -------------QT--------------------
43 echo -----------------------------------
44
45 copy /V /Y %QTDIR%\bin\phonon4.dll %creaThirdPartydlls%
46 copy /V /Y %QTDIR%\bin\QtCore4.dll %creaThirdPartydlls%
47 copy /V /Y %QTDIR%\bin\QtGui4.dll %creaThirdPartydlls%
48 copy /V /Y %QTDIR%\bin\QtNetwork4.dll %creaThirdPartydlls%
49 copy /V /Y %QTDIR%\bin\QtOpenGL4.dll %creaThirdPartydlls%
50 copy /V /Y %QTDIR%\bin\QtScript4.dll %creaThirdPartydlls%
51 copy /V /Y %QTDIR%\bin\QtScriptTools4.dll %creaThirdPartydlls%
52 copy /V /Y %QTDIR%\bin\QtSql4.dll %creaThirdPartydlls%
53 copy /V /Y %QTDIR%\bin\QtSvg4.dll %creaThirdPartydlls%
54 copy /V /Y %QTDIR%\bin\QtTest4.dll %creaThirdPartydlls%
55 copy /V /Y %QTDIR%\bin\QtXml4.dll %creaThirdPartydlls%
56 copy /V /Y %QTDIR%\bin\QtXmlPatterns4.dll %creaThirdPartydlls%
57
58 echo -----------------------------------
59 echo -------------wxWidgets-------------
60 echo -----------------------------------
61
62 set wxPrefixBase=wxbase28
63 set wxPrefixmsw=wxmsw28
64
65 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_net_vc_custom.dll %creaThirdPartydlls%
66 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_vc_custom.dll %creaThirdPartydlls%
67 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixBase%_xml_vc_custom.dll %creaThirdPartydlls%
68 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_adv_vc_custom.dll %creaThirdPartydlls%
69 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_aui_vc_custom.dll %creaThirdPartydlls%
70 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_core_vc_custom.dll %creaThirdPartydlls%
71 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_gl_vc_custom.dll %creaThirdPartydlls%
72 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_html_vc_custom.dll %creaThirdPartydlls%
73 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_media_vc_custom.dll %creaThirdPartydlls%
74 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_qa_vc_custom.dll %creaThirdPartydlls%
75 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_richtext_vc_custom.dll %creaThirdPartydlls%
76 copy /V /Y %WXDIR%\lib\vc_dll\%wxPrefixmsw%_xrc_vc_custom.dll %creaThirdPartydlls%
77
78
79 echo -----------------------------------
80 echo -------------Boost-----------------
81 echo -----------------------------------
82
83 set boostMT=-vc100-mt-1_46_1.dll
84 set boostMTGD=-vc100-mt-gd-1_46_1.dll
85
86 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartydlls%
87 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartydlls%
88 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartydlls%
89 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartydlls%
90 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartydlls%
91 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartydlls%
92 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartydlls%
93 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartydlls%
94 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartydlls%
95 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartydlls%
96 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartydlls%
97 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartydlls%
98 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartydlls%
99 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartydlls%
100 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartydlls%
101 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartydlls%
102 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartydlls%
103 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartydlls%
104 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartydlls%
105 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartydlls%
106 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartydlls%
107 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartydlls%
108 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartydlls%
109 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartydlls%
110 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartydlls%
111 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartydlls%
112 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartydlls%
113 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartydlls%
114
115
116 echo -----------------------------------
117 echo -------------Xcerces---------------
118 echo -----------------------------------
119
120 copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
121
122 echo -----------------------------------
123 echo -------------ITK-------------------
124 echo -----------------------------------
125
126 copy /V /Y %ITKINSTALLDIR%\bin\ITKCommon.dll %creaThirdPartydlls%
127 copy /V /Y %ITKINSTALLDIR%\bin\itkTestDriver.exe %creaThirdPartydlls%
128
129
130 echo -----------------------------------
131 echo -------------VTK-------------------
132 echo -----------------------------------
133
134 copy /V /Y %VTKINSTALLDIR%\bin\vtkEncodeString.exe %creaThirdPartydlls%
135
136 copy /V /Y %VTKINSTALLDIR%\bin\QVTK.dll %creaThirdPartydlls%
137 copy /V /Y %VTKINSTALLDIR%\bin\vtkalglib.dll %creaThirdPartydlls%
138 copy /V /Y %VTKINSTALLDIR%\bin\vtkCommon.dll %creaThirdPartydlls%
139 copy /V /Y %VTKINSTALLDIR%\bin\vtkDICOMParser.dll %creaThirdPartydlls%
140 copy /V /Y %VTKINSTALLDIR%\bin\vtkexoIIc.dll %creaThirdPartydlls%
141 copy /V /Y %VTKINSTALLDIR%\bin\vtkexpat.dll %creaThirdPartydlls%
142 copy /V /Y %VTKINSTALLDIR%\bin\vtkFiltering.dll %creaThirdPartydlls%
143 copy /V /Y %VTKINSTALLDIR%\bin\vtkfreetype.dll %creaThirdPartydlls%
144 copy /V /Y %VTKINSTALLDIR%\bin\vtkftgl.dll %creaThirdPartydlls%
145 copy /V /Y %VTKINSTALLDIR%\bin\vtkGenericFiltering.dll %creaThirdPartydlls%
146 copy /V /Y %VTKINSTALLDIR%\bin\vtkGraphics.dll %creaThirdPartydlls%
147 copy /V /Y %VTKINSTALLDIR%\bin\vtkHybrid.dll %creaThirdPartydlls%
148 copy /V /Y %VTKINSTALLDIR%\bin\vtkImaging.dll %creaThirdPartydlls%
149 copy /V /Y %VTKINSTALLDIR%\bin\vtkInfovis.dll %creaThirdPartydlls%
150 copy /V /Y %VTKINSTALLDIR%\bin\vtkIO.dll %creaThirdPartydlls%
151 copy /V /Y %VTKINSTALLDIR%\bin\vtkjpeg.dll %creaThirdPartydlls%
152 copy /V /Y %VTKINSTALLDIR%\bin\vtklibxml2.dll %creaThirdPartydlls%
153 copy /V /Y %VTKINSTALLDIR%\bin\vtkmetaio.dll %creaThirdPartydlls%
154 copy /V /Y %VTKINSTALLDIR%\bin\vtkNetCDF.dll %creaThirdPartydlls%
155 copy /V /Y %VTKINSTALLDIR%\bin\vtkpng.dll %creaThirdPartydlls%
156 copy /V /Y %VTKINSTALLDIR%\bin\vtkproj4.dll %creaThirdPartydlls%
157 copy /V /Y %VTKINSTALLDIR%\bin\vtkRendering.dll %creaThirdPartydlls%
158 copy /V /Y %VTKINSTALLDIR%\bin\vtksys.dll %creaThirdPartydlls%
159 copy /V /Y %VTKINSTALLDIR%\bin\vtktiff.dll %creaThirdPartydlls%
160 copy /V /Y %VTKINSTALLDIR%\bin\vtkverdict.dll %creaThirdPartydlls%
161 copy /V /Y %VTKINSTALLDIR%\bin\vtkViews.dll %creaThirdPartydlls%
162 copy /V /Y %VTKINSTALLDIR%\bin\vtkVolumeRendering.dll %creaThirdPartydlls%
163 copy /V /Y %VTKINSTALLDIR%\bin\vtkWidgets.dll %creaThirdPartydlls%
164 copy /V /Y %VTKINSTALLDIR%\bin\vtkzlib.dll %creaThirdPartydlls%
165
166 echo -----------------------------------
167 echo -------------GDCM------------------
168 echo -----------------------------------
169
170 copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
171 copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
172 echo -----------------------------------
173 echo ------End of Moving Dlls-----------
174 echo -----------------------------------
175
176 exit /B