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