]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/scripts/move_thirdparty_dlls.bat
DFCH: boost and wxWidgets changes
[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.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 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_net_vc_custom.dll %creaThirdPartydlls%
63 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_vc_custom.dll %creaThirdPartydlls%
64 copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_xml_vc_custom.dll %creaThirdPartydlls%
65 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_adv_vc_custom.dll %creaThirdPartydlls%
66 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_aui_vc_custom.dll %creaThirdPartydlls%
67 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_core_vc_custom.dll %creaThirdPartydlls%
68 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_gl_vc_custom.dll %creaThirdPartydlls%
69 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_html_vc_custom.dll %creaThirdPartydlls%
70 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_media_vc_custom.dll %creaThirdPartydlls%
71 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_qa_vc_custom.dll %creaThirdPartydlls%
72 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_richtext_vc_custom.dll %creaThirdPartydlls%
73 copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_xrc_vc_custom.dll %creaThirdPartydlls%
74
75
76 echo -----------------------------------
77 echo -------------Boost-----------------
78 echo -----------------------------------
79
80 set boostMT=-vc100-mt-1_46_1.dll
81 set boostMTGD=-vc100-mt-gd-1_46_1.dll
82
83 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartydlls%
84 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartydlls%
85 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartydlls%
86 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartydlls%
87 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartydlls%
88 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartydlls%
89 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartydlls%
90 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartydlls%
91 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartydlls%
92 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartydlls%
93 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartydlls%
94 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartydlls%
95 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartydlls%
96 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartydlls%
97 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartydlls%
98 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartydlls%
99 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartydlls%
100 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartydlls%
101 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartydlls%
102 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartydlls%
103 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartydlls%
104 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartydlls%
105 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartydlls%
106 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartydlls%
107 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartydlls%
108 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartydlls%
109 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartydlls%
110 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartydlls%
111
112
113 echo -----------------------------------
114 echo -------------Xcerces---------------
115 echo -----------------------------------
116
117 copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
118
119 echo -----------------------------------
120 echo -------------ITK-------------------
121 echo -----------------------------------
122
123 copy /V /Y %ITKINSTALLDIR%\bin\ITKCommon.dll %creaThirdPartydlls%
124 copy /V /Y %ITKINSTALLDIR%\bin\itkTestDriver.exe %creaThirdPartydlls%
125
126
127 echo -----------------------------------
128 echo -------------VTK-------------------
129 echo -----------------------------------
130
131 copy /V /Y %VTKINSTALLDIR%\bin\vtkEncodeString.exe %creaThirdPartydlls%
132
133 copy /V /Y %VTKINSTALLDIR%\bin\QVTK.dll %creaThirdPartydlls%
134 copy /V /Y %VTKINSTALLDIR%\bin\vtkalglib.dll %creaThirdPartydlls%
135 copy /V /Y %VTKINSTALLDIR%\bin\vtkCommon.dll %creaThirdPartydlls%
136 copy /V /Y %VTKINSTALLDIR%\bin\vtkDICOMParser.dll %creaThirdPartydlls%
137 copy /V /Y %VTKINSTALLDIR%\bin\vtkexoIIc.dll %creaThirdPartydlls%
138 copy /V /Y %VTKINSTALLDIR%\bin\vtkexpat.dll %creaThirdPartydlls%
139 copy /V /Y %VTKINSTALLDIR%\bin\vtkFiltering.dll %creaThirdPartydlls%
140 copy /V /Y %VTKINSTALLDIR%\bin\vtkfreetype.dll %creaThirdPartydlls%
141 copy /V /Y %VTKINSTALLDIR%\bin\vtkftgl.dll %creaThirdPartydlls%
142 copy /V /Y %VTKINSTALLDIR%\bin\vtkGenericFiltering.dll %creaThirdPartydlls%
143 copy /V /Y %VTKINSTALLDIR%\bin\vtkGraphics.dll %creaThirdPartydlls%
144 copy /V /Y %VTKINSTALLDIR%\bin\vtkHybrid.dll %creaThirdPartydlls%
145 copy /V /Y %VTKINSTALLDIR%\bin\vtkImaging.dll %creaThirdPartydlls%
146 copy /V /Y %VTKINSTALLDIR%\bin\vtkInfovis.dll %creaThirdPartydlls%
147 copy /V /Y %VTKINSTALLDIR%\bin\vtkIO.dll %creaThirdPartydlls%
148 copy /V /Y %VTKINSTALLDIR%\bin\vtkjpeg.dll %creaThirdPartydlls%
149 copy /V /Y %VTKINSTALLDIR%\bin\vtklibxml2.dll %creaThirdPartydlls%
150 copy /V /Y %VTKINSTALLDIR%\bin\vtkmetaio.dll %creaThirdPartydlls%
151 copy /V /Y %VTKINSTALLDIR%\bin\vtkNetCDF.dll %creaThirdPartydlls%
152 copy /V /Y %VTKINSTALLDIR%\bin\vtkpng.dll %creaThirdPartydlls%
153 copy /V /Y %VTKINSTALLDIR%\bin\vtkproj4.dll %creaThirdPartydlls%
154 copy /V /Y %VTKINSTALLDIR%\bin\vtkRendering.dll %creaThirdPartydlls%
155 copy /V /Y %VTKINSTALLDIR%\bin\vtksys.dll %creaThirdPartydlls%
156 copy /V /Y %VTKINSTALLDIR%\bin\vtktiff.dll %creaThirdPartydlls%
157 copy /V /Y %VTKINSTALLDIR%\bin\vtkverdict.dll %creaThirdPartydlls%
158 copy /V /Y %VTKINSTALLDIR%\bin\vtkViews.dll %creaThirdPartydlls%
159 copy /V /Y %VTKINSTALLDIR%\bin\vtkVolumeRendering.dll %creaThirdPartydlls%
160 copy /V /Y %VTKINSTALLDIR%\bin\vtkWidgets.dll %creaThirdPartydlls%
161 copy /V /Y %VTKINSTALLDIR%\bin\vtkzlib.dll %creaThirdPartydlls%
162
163 echo -----------------------------------
164 echo -------------GDCM------------------
165 echo -----------------------------------
166
167 copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
168 copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
169 echo -----------------------------------
170 echo ------End of Moving Dlls-----------
171 echo -----------------------------------
172
173 exit /B