2 echo -----------------------------------
3 echo ----------Moving Dlls--------------
4 echo -----------------------------------
5 echo -----------------------------------
6 echo ---Setting Enviroment Variables----
7 echo -----------------------------------
9 set thirdpartyGeneration=%1
12 set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
13 set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
14 set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
16 set creaThirdPartydlls=%thirdpartyGeneration%\thirdparty_temp\creaThirdParty_dlls
20 set wxWidgets=wxWidgets
28 set QTDIR=%sourcepath%\%qt%
29 set WXDIR=%sourcepath%\%wxWidgets%
30 set BOOSTDIR=%sourcepath%\%boost%
31 set XERCESDIR=%sourcepath%\%xercesc%
32 set ITKSRCDIR=%sourcepath%\%itk%
33 set VTKSRCDIR=%sourcepath%\%VTK%
34 set GDCMSRCDIR=%sourcepath%\%gdcm%
35 set BOOSTINSTALLDIR=%installpath%\%boost%
36 set ITKINSTALLDIR=%installpath%\%itk%
37 set VTKINSTALLDIR=%installpath%\%vtk%
38 set GDCMINSTALLDIR=%installpath%\%gdcm%
40 rmdir /S /Q %creaThirdPartydlls%
42 mkdir %creaThirdPartydlls%
44 echo setting buildtype libraries
45 echo if(%buildType%=="release")(
47 set wxPrefixBase=wxbase28
48 set wxPrefixmsw=wxmsw28
49 set boostMT=-vc100-mt-1_49.dll
50 set boostMTGD=-vc100-mt-gd-1_49.dll
53 echo set wxPrefixBase=wxbase293d
54 echo set wxPrefixmsw=wxmsw293d
58 if %PROCESSOR_ARCHITECTURE%==x86 (
62 set vcFolder=vc_amd64_dll
66 echo -----------------------------------
67 echo Environment variables Configuration
68 echo -----------------------------------
69 echo ThirdpartyGeneration=%thirdpartyGeneration%
71 echo miktexAux=%miktexAux%
72 echo InstallPath=%installpath%
73 echo BinPath=%binpath%
74 echo SourcePath=%sourcepath%
75 echo creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
79 echo Xercesc=%xercesc%
85 echo BOOSTDIR=%BOOSTDIR%
86 echo XERCESDIR=%XERCESDIR%
87 echo ITKSRCDIR=%ITKSRCDIR%
88 echo VTKSRCDIR=%VTKSRCDIR%
91 echo -----------------------------------
92 echo -------------QT--------------------
93 echo -----------------------------------
95 copy /V /Y %QTDIR%\bin\phonon%qtBtype%.dll %creaThirdPartydlls%
96 copy /V /Y %QTDIR%\bin\QtCore%qtBtype%.dll %creaThirdPartydlls%
97 copy /V /Y %QTDIR%\bin\QtGui%qtBtype%.dll %creaThirdPartydlls%
98 copy /V /Y %QTDIR%\bin\QtNetwork%qtBtype%.dll %creaThirdPartydlls%
99 copy /V /Y %QTDIR%\bin\QtOpenGL%qtBtype%.dll %creaThirdPartydlls%
100 copy /V /Y %QTDIR%\bin\QtScript%qtBtype%.dll %creaThirdPartydlls%
101 copy /V /Y %QTDIR%\bin\QtScriptTools%qtBtype%.dll %creaThirdPartydlls%
102 copy /V /Y %QTDIR%\bin\QtSql%qtBtype%.dll %creaThirdPartydlls%
103 copy /V /Y %QTDIR%\bin\QtSvg%qtBtype%.dll %creaThirdPartydlls%
104 copy /V /Y %QTDIR%\bin\QtTest%qtBtype%.dll %creaThirdPartydlls%
105 copy /V /Y %QTDIR%\bin\QtXml%qtBtype%.dll %creaThirdPartydlls%
106 copy /V /Y %QTDIR%\bin\QtXmlPatterns%qtBtype%.dll %creaThirdPartydlls%
108 echo -----------------------------------
109 echo -------------wxWidgets-------------
110 echo -----------------------------------
113 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net_vc_custom.dll %creaThirdPartydlls%
114 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_vc_custom.dll %creaThirdPartydlls%
115 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml_vc_custom.dll %creaThirdPartydlls%
116 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv_vc_custom.dll %creaThirdPartydlls%
117 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui_vc_custom.dll %creaThirdPartydlls%
118 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core_vc_custom.dll %creaThirdPartydlls%
119 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_gl_vc_custom.dll %creaThirdPartydlls%
120 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html_vc_custom.dll %creaThirdPartydlls%
121 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media_vc_custom.dll %creaThirdPartydlls%
122 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa_vc_custom.dll %creaThirdPartydlls%
123 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext_vc_custom.dll %creaThirdPartydlls%
124 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc_vc_custom.dll %creaThirdPartydlls%
127 echo -----------------------------------
128 echo -------------Boost-----------------
129 echo -----------------------------------
131 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartydlls%
132 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartydlls%
133 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartydlls%
134 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartydlls%
135 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartydlls%
136 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartydlls%
137 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartydlls%
138 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartydlls%
139 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartydlls%
140 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartydlls%
141 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartydlls%
142 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartydlls%
143 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartydlls%
144 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartydlls%
145 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartydlls%
146 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartydlls%
147 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartydlls%
148 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartydlls%
149 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartydlls%
150 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartydlls%
151 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartydlls%
152 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartydlls%
153 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartydlls%
154 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartydlls%
155 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartydlls%
156 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartydlls%
157 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartydlls%
158 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartydlls%
161 echo -----------------------------------
162 echo -------------Xcerces---------------
163 echo -----------------------------------
165 copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%
167 echo -----------------------------------
168 echo -------------ITK-------------------
169 echo -----------------------------------
171 copy /V /Y %ITKINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
172 copy /V /Y %ITKINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
175 echo -----------------------------------
176 echo -------------VTK-------------------
177 echo -----------------------------------
179 copy /V /Y %VTKINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
180 copy /V /Y %VTKINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
182 echo -----------------------------------
183 echo -------------GDCM------------------
184 echo -----------------------------------
186 copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%
187 copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
188 echo -----------------------------------
189 echo ------End of Moving Dlls-----------
190 echo -----------------------------------