@echo off
echo -----------------------------------
+echo --------Moving Libraries-----------
+echo -----------------------------------
+echo -----------------------------------
+echo ------Asking Architecture----------
+echo -----------------------------------
+if %PROCESSOR_ARCHITECTURE%==x86 (
+ set ProgramFilesPath_x86=%ProgramFiles%
+ echo "Architecture found = x86"
+) else (
+ set "ProgramFilesPath_x64=%ProgramFiles%"
+ set "ProgramFilesPath_x86=%ProgramFiles(x86)%"
+ echo "Architecture found = x64"
+)
+echo -----------------------------------
echo ---Setting Enviroment Variables----
echo -----------------------------------
set thirdpartyGeneration=%1
set thirdpartyInstallPath=%2
-set installpath=%thirdpartyGeneration%\thirdparty_install
-set binpath=%thirdpartyGeneration%\thirdparty_bin
-set sourcepath=%thirdpartyGeneration%\thirdparty_source
-set creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
+set MIKTEXPFDIR="%ProgramFilesPath_x86%\MiKTeX 2.9\miktex\bin\texworks.exe"
-set qt=Qt-4.7.3
-set wxWidgets=wxWidgets-2.9.2
-set boost=Boost-1.47.0
-set xercesc=xerces-c-3.1.1
-set itk=InsightToolkit-3.20.0
+set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
+set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
+set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
+
+set creaThirdPartyLibraries=%thirdpartyGeneration%\thirdparty_temp\creaThirdParty_libraries
+
+set qt=qt
+set jom=jom
+set wxWidgets=wxWidgets
+set boost=boost
+set xercesc=xerces
+set itk=itk
set gdcm=gdcm
-set vtk=VTK
+set vtk=vtk
+set tth=tth
+set miktex=miktex
+
set QTDIR=%sourcepath%\%qt%
set WXDIR=%sourcepath%\%wxWidgets%
set BOOSTDIR=%sourcepath%\%boost%
set XERCESDIR=%sourcepath%\%xercesc%
set ITKSRCDIR=%sourcepath%\%itk%
-set VTKSRCDIR=%sourcepath%\%VTK%
+set VTKSRCDIR=%sourcepath%\%vtk%
set GDCMSRCDIR=%sourcepath%\%gdcm%
+set BOOSTINSTALLDIR=%installpath%\%boost%
set ITKINSTALLDIR=%installpath%\%itk%
set VTKINSTALLDIR=%installpath%\%vtk%
set GDCMINSTALLDIR=%installpath%\%gdcm%
+set TTHDIR=%sourcepath%\%tth%
+set MIKTEXDIR=%creaThirdPartyLibraries%\%miktex%
+
+if not exist %MIKTEXPFDIR% (
+ set MIKTEXPFDIR="%ProgramFilesPath_x64%\MiKTeX 2.9\miktex\bin\texworks.exe"
+ if not exist %MIKTEXPFDIR% (
+ echo ERROR!!! MiKTex has not been found in the system
+ exit
+ ) else set MIKTEXPFDIR="%ProgramFilesPath_x64%\MiKTeX 2.9"
+) else set MIKTEXPFDIR="%ProgramFilesPath_x86%\MiKTeX 2.9"
+
+
+echo if(%buildType%==release)(
+ set qtBtype=4
+ set wxPrefixBase=wxbase28
+ set wxPrefixmsw=wxmsw28
+ set boostMT=-vc100-mt-1_49.lib
+ set boostMTGD=-vc100-mt-gd-1_49.lib
+ set boostMTS=-vc100-mt-s-1_49.lib
+ set boostMTSGD=-vc100-mt-sgd-1_49.lib
+echo ) else (
+echo set qtBtype=d4
+echo set wxPrefixBase=wxbase293d
+echo set wxPrefixmsw=wxmsw293d
+echo )
+
+if %PROCESSOR_ARCHITECTURE%==x86 (
+ set vcFolder=vc_dll
+ set winType=Win32
+) else (
+ set vcFolder=vc_amd64_dll
+ set winType=Win64
+)
+
+echo -----------------------------------
+echo Environment variables Configuration
+echo -----------------------------------
+echo ThirdpartyGeneration=%thirdpartyGeneration%
+echo MikTex=%miktex%
+echo miktexAux=%miktexAux%
+echo InstallPath=%installpath%
+echo BinPath=%binpath%
+echo SourcePath=%sourcepath%
+echo creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
+echo QT=%qt%
+echo WX=%wxWidgets%
+echo BOOST=%boost%
+echo Xercesc=%xercesc%
+echo ITK=%itk%
+echo GDCM=%gdcm%
+echo VTK=%vtk%
+echo QTDIR=%QTDIR%
+echo WKDIR=%WXDIR%
+echo BOOSTDIR=%BOOSTDIR%
+echo XERCESDIR=%XERCESDIR%
+echo ITKSRCDIR=%ITKSRCDIR%
+echo VTKSRCDIR=%VTKSRCDIR%
+
+rmdir /S /Q %creaThirdPartyLibraries%
mkdir %creaThirdPartyLibraries%
+
echo -----------------------------------
echo -------------QT--------------------
echo -----------------------------------
copy /V /Y %QTDIR%\bin\uic.exe %creaThirdPartyLibraries%\%qt%\bin\
copy /V /Y %QTDIR%\bin\uic3.exe %creaThirdPartyLibraries%\%qt%\bin\
copy /V /Y %QTDIR%\bin\xmlpatterns.exe %creaThirdPartyLibraries%\%qt%\bin\
-copy /V /Y %QTDIR%\bin\Qt3Support4.dll %creaThirdPartyLibraries%\%qt%\bin\
-copy /V /Y %QTDIR%\bin\QtCore4.dll %creaThirdPartyLibraries%\%qt%\bin\
-copy /V /Y %QTDIR%\bin\QtDesigner4.dll %creaThirdPartyLibraries%\%qt%\bin\
-copy /V /Y %QTDIR%\bin\QtDesignerComponents4.dll %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\Qt3Support%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\QtCore%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\QtDesigner%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\QtDesignerComponents%qtBtype%.dll %creaThirdPartyLibraries%\%qt%\bin\
XCOPY %QTDIR%\lib\*.lib %creaThirdPartyLibraries%\%qt%\lib\ /i
mkdir %creaThirdPartyLibraries%\%qt%\src\gui
XCOPY %QTDIR%\src\corelib\* %creaThirdPartyLibraries%\%qt%\src\corelib /s /i
+
+echo %QTDIR%\src\gui\
+echo %creaThirdPartyLibraries%\%qt%\src\gui
XCOPY %QTDIR%\src\gui\* %creaThirdPartyLibraries%\%qt%\src\gui /s /i
echo -----------------------------------
echo -------------wxWidgets-------------
echo -----------------------------------
+
+
mkdir %creaThirdPartyLibraries%\%wxWidgets%
mkdir %creaThirdPartyLibraries%\%wxWidgets%\include\
XCOPY %WXDIR%\include\* %creaThirdPartyLibraries%\%wxWidgets%\include\ /s /i
+copy /V /Y %WXDIR%\wx-config.in %creaThirdPartyLibraries%\%wxWidgets%\
+
copy /V /Y %WXDIR%\lib\dummy %creaThirdPartyLibraries%\%wxWidgets%\lib\
copy /V /Y %WXDIR%\lib\vms.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
copy /V /Y %WXDIR%\lib\vms_gtk.opt %creaThirdPartyLibraries%\%wxWidgets%\lib\
-mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-
-copy /V /Y %WXDIR%\lib\vc_dll\wxbase29u.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxbase29u_net.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxbase29u_xml.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_adv.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_aui.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_core.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_gl.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_html.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_media.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_propgrid.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_qa.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_ribbon.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_richtext.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_stc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxmsw29u_xrc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxregexu.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxscintilla.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-copy /V /Y %WXDIR%\lib\vc_dll\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll
-
-mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll\mswu
-
-XCOPY %WXDIR%\lib\vc_dll\mswu\* %creaThirdPartyLibraries%\%wxWidgets%\lib\vc_dll\mswu /s /i
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_net.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixBase%_xml.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_adv.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_aui.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_core.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_html.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_media.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_qa.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_richtext.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\%wxPrefixmsw%_xrc.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxexpat.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxjpeg.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxpng.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxregex.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxtiff.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+copy /V /Y %WXDIR%\lib\%vcFolder%\wxzlib.lib %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%
+
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw
+
+XCOPY %WXDIR%\lib\%vcFolder%\msw\* %creaThirdPartyLibraries%\%wxWidgets%\lib\%vcFolder%\msw /s /i
mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg
-%creaThirdPartyLibraries%\%wxWidgets%\src\png
-%creaThirdPartyLibraries%\%wxWidgets%\src\tiff
-%creaThirdPartyLibraries%\%wxWidgets%\src\zlib
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\png
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\tiff
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\zlib
XCOPY %WXDIR%\src\jpeg\* %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg /s /i
XCOPY %WXDIR%\src\png\* %creaThirdPartyLibraries%\%wxWidgets%\src\png /s /i
echo -----------------------------------
echo -------------Boost-----------------
echo -----------------------------------
-cd %creaThirdPartyLibraries%\%boost%
-mkdir %creaThirdPartyLibraries%\%boost%\include\%boost%\boost
-mkdir %creaThirdPartyLibraries%\%boost%\lib
+mkdir %creaThirdPartyLibraries%\%boost%
-XCOPY %BOOSTDIR%\boost\* %creaThirdPartyLibraries%\%boost%\include\%boost%\boost /s /i
-
-copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
-copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+mkdir %creaThirdPartyLibraries%\%boost%\include
+mkdir %creaThirdPartyLibraries%\%boost%\lib
+XCOPY %BOOSTINSTALLDIR%\include\* %creaThirdPartyLibraries%\%boost%\include /s /i
+
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_date_time%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_filesystem%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_graph%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_iostreams%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_prg_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_program_options%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_regex%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_serialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_signals%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_system%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_thread%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_unit_test_framework%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wave%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\boost_wserialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_date_time%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_filesystem%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_graph%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_iostreams%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_prg_exec_monitor%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_program_options%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_regex%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_serialization%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_signals%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_system%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_test_exec_monitor%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_thread%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_unit_test_framework%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wave%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMT% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTGD% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTS% %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTINSTALLDIR%\lib\libboost_wserialization%boostMTSGD% %creaThirdPartyLibraries%\%boost%\lib
echo -----------------------------------
echo -------------Xcerces---------------
XCOPY %XERCESDIR%\src\* %creaThirdPartyLibraries%\%xercesc%\include\ /s /i
-copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
+copy /V /Y %XERCESDIR%\Build\%winType%\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
echo -----------------------------------
mkdir %creaThirdPartyLibraries%\%vtk%\include
mkdir %creaThirdPartyLibraries%\%vtk%\lib
+mkdir %creaThirdPartyLibraries%\%vtk%\bin
XCOPY %VTKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%vtk%\include /s /i
XCOPY %VTKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%vtk%\lib /s /i
+XCOPY %VTKINSTALLDIR%\bin\* %creaThirdPartyLibraries%\%vtk%\bin /s /i
echo -----------------------------------
echo -------------GDCM------------------
XCOPY %GDCMINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%gdcm%\lib /s /i
XCOPY %GDCMINSTALLDIR%\share\* %creaThirdPartyLibraries%\%gdcm%\share /s /i
+echo -----------------------------------
+echo -------------TTH-------------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\tth
+XCOPY %TTHDIR%\* %creaThirdPartyLibraries%\%tth% /s /i
+
+echo -----------------------------------
+echo -------------MiKText---------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%miktexAux%
+
+XCOPY %MIKTEXPFDIR%\* %MIKTEXDIR% /s /i
+
+
+echo -----------------------------------
+echo -----End of Moving Libraries-------
+echo -----------------------------------
+exit /B
\ No newline at end of file