]> Creatis software - creaToolsTools.git/commitdiff
DFCH: Thirdparty libraries (95%) :)
authorDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Fri, 21 Oct 2011 00:52:59 +0000 (00:52 +0000)
committerDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Fri, 21 Oct 2011 00:52:59 +0000 (00:52 +0000)
Install_ThirdParty/scripts/move_thirdparty_libraries.bat [new file with mode: 0644]

diff --git a/Install_ThirdParty/scripts/move_thirdparty_libraries.bat b/Install_ThirdParty/scripts/move_thirdparty_libraries.bat
new file mode 100644 (file)
index 0000000..b8fefa6
--- /dev/null
@@ -0,0 +1,228 @@
+@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 creaThirdPartyLibraries=%thirdpartyInstallPath%\creaThirdParty_libraries
+
+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 %creaThirdPartyLibraries%
+
+echo -----------------------------------
+echo -------------QT--------------------
+echo -----------------------------------
+
+mkdir %creaThirdPartyLibraries%\%qt%
+
+mkdir %creaThirdPartyLibraries%\%qt%\bin\
+mkdir %creaThirdPartyLibraries%\%qt%\include\
+mkdir %creaThirdPartyLibraries%\%qt%\lib\
+mkdir %creaThirdPartyLibraries%\%qt%\mkspecs\
+mkdir %creaThirdPartyLibraries%\%qt%\src\
+
+XCOPY %QTDIR%\mkspecs\* %creaThirdPartyLibraries%\%qt%\mkspecs\ /s /i
+XCOPY %QTDIR%\include\* %creaThirdPartyLibraries%\%qt%\include\ /s /i
+
+copy /V /Y %QTDIR%\bin\assistant.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\designer.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\dumpcpp.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\idc.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\lconvert.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\linguist.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\lrelease.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\lupdate.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\moc.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\pixeltool.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qcollectiongenerator.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qhelpconverter.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qhelpgenerator.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qmake.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qt3to4.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\qtdemo.exe %creaThirdPartyLibraries%\%qt%\bin\
+copy /V /Y %QTDIR%\bin\rcc.exe %creaThirdPartyLibraries%\%qt%\bin\
+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\
+
+XCOPY %QTDIR%\lib\*.lib %creaThirdPartyLibraries%\%qt%\lib\ /i
+
+mkdir %creaThirdPartyLibraries%\%qt%\src\corelib
+mkdir %creaThirdPartyLibraries%\%qt%\src\gui
+
+XCOPY %QTDIR%\src\corelib\* %creaThirdPartyLibraries%\%qt%\src\corelib /s /i
+XCOPY %QTDIR%\src\gui\* %creaThirdPartyLibraries%\%qt%\src\gui /s /i
+
+echo -----------------------------------
+echo -------------wxWidgets-------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%wxWidgets%
+
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\include\
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\lib\
+mkdir %creaThirdPartyLibraries%\%wxWidgets%\src\
+
+XCOPY %WXDIR%\include\* %creaThirdPartyLibraries%\%wxWidgets%\include\ /s /i
+
+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%\src\jpeg
+%creaThirdPartyLibraries%\%wxWidgets%\src\png
+%creaThirdPartyLibraries%\%wxWidgets%\src\tiff
+%creaThirdPartyLibraries%\%wxWidgets%\src\zlib
+
+XCOPY %WXDIR%\src\jpeg\* %creaThirdPartyLibraries%\%wxWidgets%\src\jpeg /s /i
+XCOPY %WXDIR%\src\png\* %creaThirdPartyLibraries%\%wxWidgets%\src\png /s /i
+XCOPY %WXDIR%\src\tiff\* %creaThirdPartyLibraries%\%wxWidgets%\src\tiff /s /i
+XCOPY %WXDIR%\src\zlib\* %creaThirdPartyLibraries%\%wxWidgets%\src\zlib /s /i
+
+
+echo -----------------------------------
+echo -------------Boost-----------------
+echo -----------------------------------
+cd %creaThirdPartyLibraries%\%boost%
+
+mkdir %creaThirdPartyLibraries%\%boost%\include\%boost%\boost
+mkdir %creaThirdPartyLibraries%\%boost%\lib
+
+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
+
+
+echo -----------------------------------
+echo -------------Xcerces---------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%xercesc%
+
+mkdir %creaThirdPartyLibraries%\%xercesc%\include\
+mkdir %creaThirdPartyLibraries%\%xercesc%\lib\
+
+XCOPY %XERCESDIR%\src\* %creaThirdPartyLibraries%\%xercesc%\include\ /s /i
+
+copy /V /Y %XERCESDIR%\Build\Win32\VC10\Release\xerces-c_3.lib %creaThirdPartyLibraries%\%xercesc%\lib\
+
+
+echo -----------------------------------
+echo -------------ITK-------------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%itk%
+
+mkdir %creaThirdPartyLibraries%\%itk%\include
+mkdir %creaThirdPartyLibraries%\%itk%\lib
+
+XCOPY %ITKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%itk%\include /s /i
+XCOPY %ITKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%itk%\lib /s /i
+
+
+echo -----------------------------------
+echo -------------VTK-------------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%vtk%
+
+mkdir %creaThirdPartyLibraries%\%vtk%\include
+mkdir %creaThirdPartyLibraries%\%vtk%\lib
+
+XCOPY %VTKINSTALLDIR%\include\* %creaThirdPartyLibraries%\%vtk%\include /s /i
+XCOPY %VTKINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%vtk%\lib /s /i
+
+echo -----------------------------------
+echo -------------GDCM------------------
+echo -----------------------------------
+mkdir %creaThirdPartyLibraries%\%gdcm%
+
+mkdir %creaThirdPartyLibraries%\%gdcm%\bin
+mkdir %creaThirdPartyLibraries%\%gdcm%\include
+mkdir %creaThirdPartyLibraries%\%gdcm%\lib
+mkdir %creaThirdPartyLibraries%\%gdcm%\share
+
+XCOPY %GDCMINSTALLDIR%\include\* %creaThirdPartyLibraries%\%gdcm%\include /s /i
+XCOPY %GDCMINSTALLDIR%\lib\* %creaThirdPartyLibraries%\%gdcm%\lib /s /i
+XCOPY %GDCMINSTALLDIR%\share\* %creaThirdPartyLibraries%\%gdcm%\share /s /i
+
+