]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/scripts/move_thirdparty_libraries.bat
#2689 creaToolsTools Feature New Normal - Third party Linux WT configuration
[creaToolsTools.git] / Install_ThirdParty / scripts / move_thirdparty_libraries.bat
1 @echo off
2 echo -----------------------------------
3 echo --------Moving Libraries-----------
4 echo -----------------------------------
5 echo -----------------------------------
6 echo ------Asking Architecture----------
7 echo -----------------------------------
8 if %PROCESSOR_ARCHITECTURE%==x86 (
9   set ProgramFilesPath_x86=%ProgramFiles%
10   echo "Architecture found = x86"
11 ) else (
12   set "ProgramFilesPath_x64=%ProgramFiles%"
13   set "ProgramFilesPath_x86=%ProgramFiles(x86)%"
14   echo "Architecture found = x64"
15 )
16 echo -----------------------------------
17 echo ---Setting Enviroment Variables----
18 echo -----------------------------------
19
20 set thirdpartyGeneration=%1
21 set thirdpartyInstallPath=%2
22 ::The following line is to force x86 or x64 compilation
23 set x86Comp=%3
24
25 set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
26 set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
27 set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
28
29 set creaThirdPartyLibraries=%thirdpartyGeneration%\thirdparty_temp\creaThirdParty_libraries
30
31 set qt=qt
32 set jom=jom
33 set wxWidgets=wxWidgets
34 set boost=boost
35 set xercesc=xerces
36 set itk=itk
37 set gdcm=gdcm13
38 set vtk=vtk
39 set tth=tth
40 set sqlite=sqlite
41
42
43 set QTDIR=%sourcepath%\%qt%
44 set WXDIR=%sourcepath%\%wxWidgets%
45 set BOOSTDIR=%sourcepath%\%boost%
46 set XERCESDIR=%sourcepath%\%xercesc%
47 set ITKSRCDIR=%sourcepath%\%itk%
48 set VTKSRCDIR=%sourcepath%\%vtk%
49 set GDCMSRCDIR=%sourcepath%\%gdcm%
50 set BOOSTINSTALLDIR=%installpath%\%boost%
51 set ITKINSTALLDIR=%installpath%\%itk%
52 set VTKINSTALLDIR=%installpath%\%vtk%
53 set GDCMINSTALLDIR=%installpath%\%gdcm%
54 set TTHDIR=%sourcepath%\%tth%
55 set SQLITEINSTALLDIR=%installpath%\%sqlite%
56
57 if %buildType%==release (
58         set qtBtype=4
59         set wxPrefixBase=wxbase28
60         set wxPrefixmsw=wxmsw28
61         set xercesFile=xerces-c_3.lib
62  ) else (
63         set qtBtype=d4
64         set wxPrefixBase=wxbase28d
65         set wxPrefixmsw=wxmsw28d
66         set xercesFile=xerces-c_3D.lib
67  )
68
69 if %x86Comp%==ON (
70         set vcFolder=vc_dll
71         set winType=Win32
72 ) else (
73         if %PROCESSOR_ARCHITECTURE%==x86  (
74                 set vcFolder=vc_dll
75                 set winType=Win32
76         ) else (
77                 set vcFolder=vc_amd64_dll
78                 set winType=Win64
79         )
80 )
81         
82 echo -----------------------------------
83 echo Environment variables Configuration
84 echo -----------------------------------
85 echo ThirdpartyGeneration=%thirdpartyGeneration%
86 echo InstallPath=%installpath%
87 echo BinPath=%binpath%
88 echo SourcePath=%sourcepath%
89 echo creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
90 echo QT=%qt%
91 echo WX=%wxWidgets%
92 echo BOOST=%boost%
93 echo Xercesc=%xercesc%
94 echo ITK=%itk%
95 echo GDCM=%gdcm%
96 echo VTK=%vtk%
97 echo QTDIR=%QTDIR%
98 echo WKDIR=%WXDIR%
99 echo BOOSTDIR=%BOOSTDIR%
100 echo XERCESDIR=%XERCESDIR%
101 echo ITKSRCDIR=%ITKSRCDIR%
102 echo VTKSRCDIR=%VTKSRCDIR%
103 echo SQLITESRCDIR=%SQLITESRCDIR%
104
105 rmdir /S /Q %creaThirdPartyLibraries%
106
107 mkdir %creaThirdPartyLibraries%
108
109
110 echo -----------------------------------
111 echo -------------QT--------------------
112 echo -----------------------------------
113
114 mkdir %creaThirdPartyLibraries%\%qt%
115
116 mkdir %creaThirdPartyLibraries%\%qt%\bin\
117 mkdir %creaThirdPartyLibraries%\%qt%\include\
118 mkdir %creaThirdPartyLibraries%\%qt%\lib\
119 mkdir %creaThirdPartyLibraries%\%qt%\mkspecs\
120 mkdir %creaThirdPartyLibraries%\%qt%\src\
121
122 XCOPY %QTDIR%\mkspecs\* %creaThirdPartyLibraries%\%qt%\mkspecs\ /s /i
123
124 XCOPY %QTDIR%\include\ActiveQt %creaThirdPartyLibraries%\%qt%\include\ActiveQt /s /i
125 XCOPY %QTDIR%\include\phonon %creaThirdPartyLibraries%\%qt%\include\phonon /s /i
126 XCOPY %QTDIR%\include\Qt %creaThirdPartyLibraries%\%qt%\include\Qt /s /i
127 XCOPY %QTDIR%\include\Qt3Support %creaThirdPartyLibraries%\%qt%\include\Qt3Support /s /i
128 XCOPY %QTDIR%\include\QtCore %creaThirdPartyLibraries%\%qt%\include\QtCore /s /i
129 XCOPY %QTDIR%\include\QtDBus %creaThirdPartyLibraries%\%qt%\include\QtDBus /s /i
130 XCOPY %QTDIR%\include\QtDeclarative %creaThirdPartyLibraries%\%qt%\include\QtDeclarative /s /i
131 XCOPY %QTDIR%\include\QtDesigner %creaThirdPartyLibraries%\%qt%\include\QtDesigner /s /i
132 XCOPY %QTDIR%\include\QtGui %creaThirdPartyLibraries%\%qt%\include\QtGui /s /i
133 XCOPY %QTDIR%\include\QtHelp %creaThirdPartyLibraries%\%qt%\include\QtHelp /s /i
134 XCOPY %QTDIR%\include\QtNetwork %creaThirdPartyLibraries%\%qt%\include\QtNetwork /s /i
135 XCOPY %QTDIR%\include\QtOpenGL %creaThirdPartyLibraries%\%qt%\include\QtOpenGL /s /i
136 XCOPY %QTDIR%\include\QtScript %creaThirdPartyLibraries%\%qt%\include\QtScript /s /i
137 XCOPY %QTDIR%\include\QtScriptTools %creaThirdPartyLibraries%\%qt%\include\QtScriptTools /s /i
138 XCOPY %QTDIR%\include\QtSql %creaThirdPartyLibraries%\%qt%\include\QtSql /s /i
139 XCOPY %QTDIR%\include\QtSvg %creaThirdPartyLibraries%\%qt%\include\QtSvg /s /i
140 XCOPY %QTDIR%\include\QtTest %creaThirdPartyLibraries%\%qt%\include\QtTest /s /i
141 XCOPY %QTDIR%\include\QtUiTools %creaThirdPartyLibraries%\%qt%\include\QtUiTools /s /i
142 XCOPY %QTDIR%\include\QtWebKit %creaThirdPartyLibraries%\%qt%\include\QtWebKit /s /i
143 XCOPY %QTDIR%\include\QtXml %creaThirdPartyLibraries%\%qt%\include\QtXml /s /i
144 XCOPY %QTDIR%\include\QtXmlPatterns %creaThirdPartyLibraries%\%qt%\include\QtXmlPatterns /s /i
145
146 copy /V /Y %QTDIR%\bin\assistant.exe %creaThirdPartyLibraries%\%qt%\bin\
147 copy /V /Y %QTDIR%\bin\designer.exe %creaThirdPartyLibraries%\%qt%\bin\
148 copy /V /Y %QTDIR%\bin\dumpcpp.exe %creaThirdPartyLibraries%\%qt%\bin\
149 copy /V /Y %QTDIR%\bin\idc.exe %creaThirdPartyLibraries%\%qt%\bin\
150 copy /V /Y %QTDIR%\bin\lconvert.exe %creaThirdPartyLibraries%\%qt%\bin\
151 copy /V /Y %QTDIR%\bin\linguist.exe %creaThirdPartyLibraries%\%qt%\bin\
152 copy /V /Y %QTDIR%\bin\lrelease.exe %creaThirdPartyLibraries%\%qt%\bin\
153 copy /V /Y %QTDIR%\bin\lupdate.exe %creaThirdPartyLibraries%\%qt%\bin\
154 copy /V /Y %QTDIR%\bin\moc.exe %creaThirdPartyLibraries%\%qt%\bin\
155 copy /V /Y %QTDIR%\bin\pixeltool.exe %creaThirdPartyLibraries%\%qt%\bin\
156 copy /V /Y %QTDIR%\bin\qcollectiongenerator.exe %creaThirdPartyLibraries%\%qt%\bin\
157 copy /V /Y %QTDIR%\bin\qhelpconverter.exe %creaThirdPartyLibraries%\%qt%\bin\
158 copy /V /Y %QTDIR%\bin\qhelpgenerator.exe %creaThirdPartyLibraries%\%qt%\bin\
159 copy /V /Y %QTDIR%\bin\qmake.exe %creaThirdPartyLibraries%\%qt%\bin\
160 copy /V /Y %QTDIR%\bin\qt3to4.exe %creaThirdPartyLibraries%\%qt%\bin\
161 copy /V /Y %QTDIR%\bin\qtdemo.exe %creaThirdPartyLibraries%\%qt%\bin\
162 copy /V /Y %QTDIR%\bin\rcc.exe %creaThirdPartyLibraries%\%qt%\bin\
163 copy /V /Y %QTDIR%\bin\uic.exe %creaThirdPartyLibraries%\%qt%\bin\
164 copy /V /Y %QTDIR%\bin\uic3.exe %creaThirdPartyLibraries%\%qt%\bin\
165 copy /V /Y %QTDIR%\bin\xmlpatterns.exe %creaThirdPartyLibraries%\%qt%\bin\
166 copy /V /Y %QTDIR%\bin\Qt3Support%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
167 copy /V /Y %QTDIR%\bin\QtCore%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
168 copy /V /Y %QTDIR%\bin\QtDesigner%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
169 copy /V /Y %QTDIR%\bin\QtDesignerComponents%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
170
171 ::XCOPY %QTDIR%\lib\*.lib %creaThirdPartyLibraries%\%qt%\lib\ /i DFCH
172 copy /V /Y %QTDIR%\lib\phonon%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
173 copy /V /Y %QTDIR%\lib\Qt3Support%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
174 copy /V /Y %QTDIR%\lib\QtCore%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
175 copy /V /Y %QTDIR%\lib\QtGui%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
176 copy /V /Y %QTDIR%\lib\QtNetwork%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
177 copy /V /Y %QTDIR%\lib\QtOpenGL%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
178 copy /V /Y %QTDIR%\lib\QtScript%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
179 copy /V /Y %QTDIR%\lib\QtSql%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
180 copy /V /Y %QTDIR%\lib\QtSvg%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
181 copy /V /Y %QTDIR%\lib\QtTest%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
182 copy /V /Y %QTDIR%\lib\QtXml%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
183 copy /V /Y %QTDIR%\lib\QtXmlPatterns%qtBtype%.lib %creaThirdPartyLibraries%\%qt%\lib\
184
185 IF %buildType%==release (
186         copy /V /Y %QTDIR%\lib\QAxContainer.lib %creaThirdPartyLibraries%\%qt%\lib\
187         copy /V /Y %QTDIR%\lib\QAxServer.lib %creaThirdPartyLibraries%\%qt%\lib\
188         copy /V /Y %QTDIR%\lib\qtmain.lib %creaThirdPartyLibraries%\%qt%\lib\
189 ) ELSE (
190         copy /V /Y %QTDIR%\lib\QAxContainerd.lib %creaThirdPartyLibraries%\%qt%\lib\
191         copy /V /Y %QTDIR%\lib\QAxServerd.lib %creaThirdPartyLibraries%\%qt%\lib\
192         copy /V /Y %QTDIR%\lib\qtmaind.lib %creaThirdPartyLibraries%\%qt%\lib\
193 )
194
195 mkdir %creaThirdPartyLibraries%\%qt%\src\corelib
196 mkdir %creaThirdPartyLibraries%\%qt%\src\gui
197
198 XCOPY %QTDIR%\src\corelib\* %creaThirdPartyLibraries%\%qt%\src\corelib /s /i
199 rmdir %creaThirdPartyLibraries%\%qt%\src\corelib\animation /S /Q
200 rmdir %creaThirdPartyLibraries%\%qt%\src\corelib\tmp /S /Q
201 rmdir %creaThirdPartyLibraries%\%qt%\src\corelib\statemachine /S /Q
202
203 XCOPY %QTDIR%\src\gui\* %creaThirdPartyLibraries%\%qt%\src\gui /s /i
204 ::Cleaning directories
205 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\animation /S /Q
206 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\effects /S /Q
207 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\egl /S /Q
208 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\embedded /S /Q
209 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\math3d /S /Q
210 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\s60framework /S /Q
211 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\statemachine /S /Q
212 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\symbian /S /Q
213 rmdir %creaThirdPartyLibraries%\%qt%\src\gui\tmp /S /Q
214
215 echo -----------------------------------
216 echo -------------wxWidgets-------------
217 echo -----------------------------------
218
219
220 mkdir %creaThirdPartyLibraries%\%wxWidgets%
221
222 mkdir %creaThirdPartyLibraries%\%wxWidgets%\include\
223 mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\
224 mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\
225
226 XCOPY %WXDIR%\include\* %creaThirdPartyLibraries%\%wxWidgets%\include\ /s /i
227
228 copy /V /Y %WXDIR%\wx-config.in %creaThirdPartyLibraries%\%wxWidgets%\
229
230 copy /V /Y %WXDIR%\lib\dummy %creaThirdPartyLibraries%\%wxWidgets%\lib\
231 copy /V /Y %WXDIR%\lib\vms.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
232 copy /V /Y %WXDIR%\lib\vms_gtk.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
233
234 mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
235
236 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
237 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
238 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
239 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
240 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
241 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
242 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
243 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
244 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
245 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
246 copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
247
248 IF %buildType%==release (
249         copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
250         copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
251         copy /V /Y %WXDIR%\lib\%vcFolder%\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
252         copy /V /Y %WXDIR%\lib\%vcFolder%\wxregex.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
253         copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
254         copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
255         mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw
256         XCOPY %WXDIR%\lib\%vcFolder%\msw\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw /s /i
257 ) ELSE (
258         copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpatd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
259         copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpegd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
260         copy /V /Y %WXDIR%\lib\%vcFolder%\wxpngd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
261         copy /V /Y %WXDIR%\lib\%vcFolder%\wxregexd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
262         copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiffd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
263         copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlibd.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
264         mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\mswd
265         XCOPY %WXDIR%\lib\%vcFolder%\mswd\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\mswd /s /i
266 )
267
268 mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg
269 mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\png
270 mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\tiff
271 mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\zlib
272
273 XCOPY %WXDIR%\src\jpeg\* %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg /s /i
274 XCOPY %WXDIR%\src\png\* %creaThirdPartyLibraries%\%wxWidgets%\src\png /s /i
275 XCOPY %WXDIR%\src\tiff\* %creaThirdPartyLibraries%\%wxWidgets%\src\tiff /s /i
276 XCOPY %WXDIR%\src\zlib\* %creaThirdPartyLibraries%\%wxWidgets%\src\zlib /s /i
277
278
279 echo -----------------------------------
280 echo -------------Boost-----------------
281 echo -----------------------------------
282
283 REM set boostMT=-vc100-mt-1_49.lib
284 REM set boostMTGD=-vc100-mt-gd-1_49.lib
285 REM set boostMTS=-vc100-mt-s-1_49.lib
286 REM set boostMTSGD=-vc100-mt-sgd-1_49.lib
287
288 set boostMT=-vc100-mt-1_52.lib
289 set boostMTGD=-vc100-mt-gd-1_52.lib
290 set boostMTS=-vc100-mt-s-1_52.lib
291 set boostMTSGD=-vc100-mt-sgd-1_52.lib
292
293 mkdir %creaThirdPartyLibraries%\%boost%
294
295 mkdir %creaThirdPartyLibraries%\%boost%\include
296 mkdir %creaThirdPartyLibraries%\%boost%\lib
297
298 XCOPY %BOOSTINSTALLDIR%\include\* %creaThirdPartyLibraries%\%boost%\include /s /i
299
300 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartyLibraries%\%boost%\lib
301 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
302 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartyLibraries%\%boost%\lib
303 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
304 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartyLibraries%\%boost%\lib
305 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
306 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartyLibraries%\%boost%\lib
307 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
308 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
309 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
310 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartyLibraries%\%boost%\lib
311 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
312 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartyLibraries%\%boost%\lib
313 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
314 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
315 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
316 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartyLibraries%\%boost%\lib
317 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
318 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartyLibraries%\%boost%\lib
319 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
320 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartyLibraries%\%boost%\lib
321 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
322 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartyLibraries%\%boost%\lib
323 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
324 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartyLibraries%\%boost%\lib
325 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
326 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
327 copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
328 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMT% %creaThirdPartyLibraries%\%boost%\lib
329 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
330 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
331 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
332 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMT% %creaThirdPartyLibraries%\%boost%\lib
333 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
334 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
335 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
336 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMT% %creaThirdPartyLibraries%\%boost%\lib
337 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
338 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
339 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
340 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMT% %creaThirdPartyLibraries%\%boost%\lib
341 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
342 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
343 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
344 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
345 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
346 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
347 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
348 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMT% %creaThirdPartyLibraries%\%boost%\lib
349 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
350 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
351 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
352 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMT% %creaThirdPartyLibraries%\%boost%\lib
353 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
354 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
355 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
356 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
357 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
358 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
359 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
360 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMT% %creaThirdPartyLibraries%\%boost%\lib
361 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
362 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
363 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
364 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMT% %creaThirdPartyLibraries%\%boost%\lib
365 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
366 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
367 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
368 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
369 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
370 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
371 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
372 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMT% %creaThirdPartyLibraries%\%boost%\lib
373 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
374 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
375 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
376 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMT% %creaThirdPartyLibraries%\%boost%\lib
377 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
378 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
379 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
380 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMT% %creaThirdPartyLibraries%\%boost%\lib
381 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
382 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
383 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
384 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
385 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
386 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
387 copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
388
389 echo -----------------------------------
390 echo -------------Xcerces---------------
391 echo -----------------------------------
392 mkdir %creaThirdPartyLibraries%\%xercesc%
393
394 mkdir %creaThirdPartyLibraries%\%xercesc%\include\
395 mkdir %creaThirdPartyLibraries%\%xercesc%\lib\
396
397 XCOPY %XERCESDIR%\src\* %creaThirdPartyLibraries%\%xercesc%\include\ /s /i
398 copy /V /Y %XERCESDIR%\Build\%winType%\VC10\%buildType%\%xercesFile% %creaThirdPartyLibraries%\%xercesc%\lib\
399
400 echo -----------------------------------
401 echo -------------ITK-------------------
402 echo -----------------------------------
403 mkdir %creaThirdPartyLibraries%\%itk%
404
405 mkdir %creaThirdPartyLibraries%\%itk%\include
406 mkdir %creaThirdPartyLibraries%\%itk%\lib
407
408 XCOPY %ITKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%itk%\include /s /i
409 XCOPY %ITKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%itk%\lib /s /i
410
411
412 echo -----------------------------------
413 echo -------------VTK-------------------
414 echo -----------------------------------
415 mkdir %creaThirdPartyLibraries%\%vtk%
416
417 mkdir %creaThirdPartyLibraries%\%vtk%\include
418 mkdir %creaThirdPartyLibraries%\%vtk%\lib
419
420 XCOPY %VTKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%vtk%\include /s /i
421 XCOPY %VTKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%vtk%\lib /s /i
422
423 echo cleaning
424
425 del %creaThirdPartyLibraries%\%vtk%\lib\vtk-5.10\VTKTargets.cmake
426 ::del %creaThirdPartyLibraries%\%vtk%\lib\vtk-5.10\VTKTargets-release.cmake
427
428 echo -----------------------------------
429 echo -------------GDCM------------------
430 echo -----------------------------------
431 mkdir %creaThirdPartyLibraries%\%gdcm%
432
433 mkdir %creaThirdPartyLibraries%\%gdcm%\bin
434 mkdir %creaThirdPartyLibraries%\%gdcm%\include
435 mkdir %creaThirdPartyLibraries%\%gdcm%\lib
436 mkdir %creaThirdPartyLibraries%\%gdcm%\share
437
438 XCOPY %GDCMINSTALLDIR%\include\* %creaThirdPartyLibraries%\%gdcm%\include /s /i
439 XCOPY %GDCMINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%gdcm%\lib /s /i
440 XCOPY %GDCMINSTALLDIR%\share\* %creaThirdPartyLibraries%\%gdcm%\share /s /i
441
442 echo -----------------------------------
443 echo -------------TTH-------------------
444 echo -----------------------------------
445 mkdir %creaThirdPartyLibraries%\tth
446 XCOPY %TTHDIR%\* %creaThirdPartyLibraries%\%tth% /s /i
447
448
449 echo -----------------------------------
450 echo -------------SQLite------------------
451 echo -----------------------------------
452 mkdir %creaThirdPartyLibraries%\%sqlite%
453 mkdir %creaThirdPartyLibraries%\%sqlite%\include
454 mkdir %creaThirdPartyLibraries%\%sqlite%\lib
455
456 echo XCOPY %SQLITEINSTALLDIR%\include\* %creaThirdPartyLibraries%\%sqlite%\include /s /i
457 XCOPY %SQLITEINSTALLDIR%\include\* %creaThirdPartyLibraries%\%sqlite%\include /s /i
458 XCOPY %SQLITEINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%sqlite%\lib /s /i
459
460
461
462
463 echo -----------------------------------
464 echo -----End of Moving Libraries-------
465 echo -----------------------------------
466
467 exit /B