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