2 echo -----------------------------------
3 echo ----------Moving Dlls--------------
4 echo -----------------------------------
5 echo -----------------------------------
6 echo ---Setting Enviroment Variables----
7 echo -----------------------------------
9 set thirdpartyGeneration=%1
11 ::The following line is to force x86 or x64 compilation
14 set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
15 set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
16 set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
18 set creaThirdPartydlls=%thirdpartyGeneration%\thirdparty_temp\creaThirdParty_dlls
22 set wxWidgets=wxWidgets
31 set QTDIR=%sourcepath%\%qt%
32 set WXDIR=%sourcepath%\%wxWidgets%
33 set BOOSTDIR=%sourcepath%\%boost%
34 set XERCESDIR=%sourcepath%\%xercesc%
35 set ITKSRCDIR=%sourcepath%\%itk%
36 set VTKSRCDIR=%sourcepath%\%VTK%
37 set GDCMSRCDIR=%sourcepath%\%gdcm%
38 set BOOSTINSTALLDIR=%installpath%\%boost%
39 set ITKINSTALLDIR=%installpath%\%itk%
40 set VTKINSTALLDIR=%installpath%\%vtk%
41 set GDCMINSTALLDIR=%installpath%\%gdcm%
42 set SQLITEINSTALLDIR=%installpath%\%sqlite%
44 rmdir /S /Q %creaThirdPartydlls%
46 mkdir %creaThirdPartydlls%
48 echo setting buildtype libraries
49 if %buildType%==release (
51 set wxPrefixBase=wxbase28
52 set wxPrefixmsw=wxmsw28
53 set xercesFile=xerces-c_3_1.dll
56 set wxPrefixBase=wxbase28d
57 set wxPrefixmsw=wxmsw28d
58 set xercesFile=xerces-c_3_1D.dll
66 if %PROCESSOR_ARCHITECTURE%==x86 (
70 set vcFolder=vc_amd64_dll
75 echo -----------------------------------
76 echo Environment variables Configuration
77 echo -----------------------------------
78 echo buildType=%buildType%
79 echo ThirdpartyGeneration=%thirdpartyGeneration%
80 echo InstallPath=%installpath%
81 echo BinPath=%binpath%
82 echo SourcePath=%sourcepath%
83 echo creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
85 echo qtBtype=%qtBtype%
88 echo Xercesc=%xercesc%
94 echo BOOSTDIR=%BOOSTDIR%
95 echo XERCESDIR=%XERCESDIR%
96 echo ITKSRCDIR=%ITKSRCDIR%
97 echo VTKSRCDIR=%VTKSRCDIR%
98 echo SQLSRCDIR=%SQLITESRCDIR%
101 echo -----------------------------------
102 echo -------------QT--------------------
103 echo -----------------------------------
105 copy /V /Y %QTDIR%\bin\phonon%qtBtype%.dll %creaThirdPartydlls%
106 copy /V /Y %QTDIR%\bin\QtCore%qtBtype%.dll %creaThirdPartydlls%
107 copy /V /Y %QTDIR%\bin\QtGui%qtBtype%.dll %creaThirdPartydlls%
108 copy /V /Y %QTDIR%\bin\QtNetwork%qtBtype%.dll %creaThirdPartydlls%
109 copy /V /Y %QTDIR%\bin\QtOpenGL%qtBtype%.dll %creaThirdPartydlls%
110 copy /V /Y %QTDIR%\bin\QtScript%qtBtype%.dll %creaThirdPartydlls%
111 copy /V /Y %QTDIR%\bin\QtScriptTools%qtBtype%.dll %creaThirdPartydlls%
112 copy /V /Y %QTDIR%\bin\QtSql%qtBtype%.dll %creaThirdPartydlls%
113 copy /V /Y %QTDIR%\bin\QtSvg%qtBtype%.dll %creaThirdPartydlls%
114 copy /V /Y %QTDIR%\bin\QtTest%qtBtype%.dll %creaThirdPartydlls%
115 copy /V /Y %QTDIR%\bin\QtXml%qtBtype%.dll %creaThirdPartydlls%
116 copy /V /Y %QTDIR%\bin\QtXmlPatterns%qtBtype%.dll %creaThirdPartydlls%
118 echo -----------------------------------
119 echo -------------wxWidgets-------------
120 echo -----------------------------------
123 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net_vc_custom.dll %creaThirdPartydlls%
124 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_vc_custom.dll %creaThirdPartydlls%
125 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml_vc_custom.dll %creaThirdPartydlls%
126 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv_vc_custom.dll %creaThirdPartydlls%
127 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui_vc_custom.dll %creaThirdPartydlls%
128 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core_vc_custom.dll %creaThirdPartydlls%
129 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_gl_vc_custom.dll %creaThirdPartydlls%
130 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html_vc_custom.dll %creaThirdPartydlls%
131 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media_vc_custom.dll %creaThirdPartydlls%
132 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa_vc_custom.dll %creaThirdPartydlls%
133 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext_vc_custom.dll %creaThirdPartydlls%
134 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc_vc_custom.dll %creaThirdPartydlls%
137 echo -----------------------------------
138 echo -------------Boost-----------------
139 echo -----------------------------------
141 REM set boostMT=-vc100-mt-1_49.dll
142 REM set boostMTGD=-vc100-mt-gd-1_49.dll
143 set boostMT=-vc100-mt-1_52.dll
144 set boostMTGD=-vc100-mt-gd-1_52.dll
146 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartydlls%
147 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartydlls%
148 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartydlls%
149 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartydlls%
150 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartydlls%
151 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartydlls%
152 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartydlls%
153 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartydlls%
154 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartydlls%
155 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartydlls%
156 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartydlls%
157 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartydlls%
158 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartydlls%
159 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartydlls%
160 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartydlls%
161 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartydlls%
162 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartydlls%
163 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartydlls%
164 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartydlls%
165 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartydlls%
166 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartydlls%
167 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartydlls%
168 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartydlls%
169 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartydlls%
170 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartydlls%
171 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartydlls%
172 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartydlls%
173 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartydlls%
176 echo -----------------------------------
177 echo -------------Xcerces---------------
178 echo -----------------------------------
180 copy /V /Y %XERCESDIR%\Build\%winType%\VC10\%buildType%\%xercesFile% %creaThirdPartydlls%
182 echo -----------------------------------
183 echo -------------ITK-------------------
184 echo -----------------------------------
186 copy /V /Y %ITKINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
187 copy /V /Y %ITKINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
190 echo -----------------------------------
191 echo -------------VTK-------------------
192 echo -----------------------------------
194 copy /V /Y %VTKINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
195 copy /V /Y %VTKINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
197 echo -----------------------------------
198 echo -------------GDCM------------------
199 echo -----------------------------------
201 copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
202 copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
204 echo -----------------------------------
205 echo -------------SQLite------------------
206 echo -----------------------------------
208 echo copy /V /Y %SQLITEINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
209 copy /V /Y %SQLITEINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
213 echo -----------------------------------
214 echo ------End of Moving Dlls-----------
215 echo -----------------------------------