From 10ff246a28ace1ef31f6b44c1c87097f81ea818d Mon Sep 17 00:00:00 2001 From: Diego Caceres Date: Fri, 21 Oct 2011 01:02:08 +0000 Subject: [PATCH] DFCH: thirdParty dlls --- .../scripts/move_thirdparty_dlls.bat | 160 ++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 Install_ThirdParty/scripts/move_thirdparty_dlls.bat diff --git a/Install_ThirdParty/scripts/move_thirdparty_dlls.bat b/Install_ThirdParty/scripts/move_thirdparty_dlls.bat new file mode 100644 index 0000000..dc44462 --- /dev/null +++ b/Install_ThirdParty/scripts/move_thirdparty_dlls.bat @@ -0,0 +1,160 @@ +@echo off +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 creaThirdPartydlls=%thirdpartyInstallPath%\creaThirdParty_dlls + +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 gdcm=gdcm +set vtk=VTK + +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 GDCMSRCDIR=%sourcepath%\%gdcm% +set ITKINSTALLDIR=%installpath%\%itk% +set VTKINSTALLDIR=%installpath%\%vtk% +set GDCMINSTALLDIR=%installpath%\%gdcm% + +mkdir %creaThirdPartydlls% +mkdir %creaThirdPartydlls%\bin + +echo ----------------------------------- +echo -------------QT-------------------- +echo ----------------------------------- + +copy /V /Y %QTDIR%\bin\phonon4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtCore4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtGui4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtNetwork4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtOpenGL4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtScript4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtScriptTools4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtSql4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtSvg4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtTest4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtXml4.dll %creaThirdPartydlls%\bin +copy /V /Y %QTDIR%\bin\QtXmlPatterns4.dll %creaThirdPartydlls%\bin + +echo ----------------------------------- +echo -------------wxWidgets------------- +echo ----------------------------------- + +copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_net_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxbase292u_xml_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_adv_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_aui_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_core_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_gl_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_html_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_media_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_qa_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_richtext_vc_custom.dll %creaThirdPartydlls%\bin +copy /V /Y %WXDIR%\lib\vc_dll\wxmsw292u_xrc_vc_custom.dll %creaThirdPartydlls%\bin + + +echo ----------------------------------- +echo -------------Boost----------------- +echo ----------------------------------- + +copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_date_time-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_filesystem-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_graph-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_iostreams-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_prg_exec_monitor-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_program_options-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_regex-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_serialization-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_signals-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_system-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_thread-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_unit_test_framework-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-1_47.dll %creaThirdPartydlls%\bin +copy /V /Y %BOOSTDIR%\stage\lib\boost_wserialization-vc100-mt-gd-1_47.dll %creaThirdPartydlls%\bin + + +echo ----------------------------------- +echo -------------Xcerces--------------- +echo ----------------------------------- + +copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3_1.dll %creaThirdPartydlls%\bin + +echo ----------------------------------- +echo -------------ITK------------------- +echo ----------------------------------- + +copy /V /Y %ITKINSTALLDIR%\bin\ITKCommon.dll %creaThirdPartydlls%\bin +copy /V /Y %ITKINSTALLDIR%\bin\itkTestDriver.exe %creaThirdPartydlls%\bin + + +echo ----------------------------------- +echo -------------VTK------------------- +echo ----------------------------------- + +copy /V /Y %VTKINSTALLDIR%\bin\vtkEncodeString.exe %creaThirdPartydlls%\bin + +copy /V /Y %VTKINSTALLDIR%\bin\QVTK.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkalglib.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkCommon.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkDICOMParser.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkexoIIc.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkexpat.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkFiltering.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkfreetype.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkftgl.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkGenericFiltering.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkGraphics.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkHybrid.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkImaging.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkInfovis.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkIO.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkjpeg.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtklibxml2.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkmetaio.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkNetCDF.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkpng.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkproj4.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkRendering.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtksys.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtktiff.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkverdict.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkViews.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkVolumeRendering.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkWidgets.dll %creaThirdPartydlls%\bin +copy /V /Y %VTKINSTALLDIR%\bin\vtkzlib.dll %creaThirdPartydlls%\bin + +echo ----------------------------------- +echo -------------GDCM------------------ +echo ----------------------------------- + +copy /V /Y %GDCMINSTALLDIR%\bin\*.exe %creaThirdPartydlls%\bin +copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%\bin \ No newline at end of file -- 2.47.0