]> Creatis software - creaToolsTools.git/commitdiff
DFCH: move_thirdparty_libraries.bat script working :) :)
authorDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Tue, 25 Oct 2011 14:41:35 +0000 (14:41 +0000)
committerDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Tue, 25 Oct 2011 14:41:35 +0000 (14:41 +0000)
Install_ThirdParty/scripts/move_thirdparty_libraries.bat

index b8fefa6a35f7e772cfdefd2b3c703d65595c1146..b7d8073a197cbc4cd858421857d59dd06fc29ebb 100644 (file)
@@ -6,6 +6,7 @@ echo -----------------------------------
 set thirdpartyGeneration=%1
 set thirdpartyInstallPath=%2
 
+set "miktex=%ProgramFiles(x86)%\MiKTeX 2.9"
 set installpath=%thirdpartyGeneration%\thirdparty_install
 set binpath=%thirdpartyGeneration%\thirdparty_bin
 set sourcepath=%thirdpartyGeneration%\thirdparty_source
@@ -18,6 +19,8 @@ set xercesc=xerces-c-3.1.1
 set itk=InsightToolkit-3.20.0
 set gdcm=gdcm
 set vtk=VTK
+set tth=tth
+set miktexAux=MiKTeX-2.9
 
 set QTDIR=%sourcepath%\%qt%
 set WXDIR=%sourcepath%\%wxWidgets%
@@ -29,6 +32,15 @@ set GDCMSRCDIR=%sourcepath%\%gdcm%
 set ITKINSTALLDIR=%installpath%\%itk%
 set VTKINSTALLDIR=%installpath%\%vtk%
 set GDCMINSTALLDIR=%installpath%\%gdcm%
+set TTHDIR=%sourcepath%\%tth%
+
+if "%miktex%"=="\MiKTeX 2.9" set "miktex=%ProgramFiles%\MiKTeX 2.9"
+if "%miktex%"=="\MiKTeX 2.9" (
+  echo ERROR!!! MiKTex has not been found in the system
+  exit
+)
+
+goto next
 
 mkdir %creaThirdPartyLibraries%
 
@@ -125,9 +137,9 @@ 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
+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
@@ -173,7 +185,66 @@ copy /V /Y %BOOSTDIR%\stage\lib\boost_wave-vc100-mt-1_47.lib %creaThirdPartyLibr
 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
-
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_date_time-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_date_time-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_date_time-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_date_time-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_filesystem-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_filesystem-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_filesystem-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_filesystem-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_graph-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_graph-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_graph-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_graph-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_iostreams-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_iostreams-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_iostreams-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_iostreams-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_prg_exec_monitor-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_prg_exec_monitor-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_prg_exec_monitor-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_prg_exec_monitor-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_program_options-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_program_options-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_program_options-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_program_options-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_regex-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_regex-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_regex-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_regex-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_serialization-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_serialization-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_serialization-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_serialization-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_signals-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_signals-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_signals-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_signals-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_system-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_system-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_system-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_system-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_test_exec_monitor-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_test_exec_monitor-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_test_exec_monitor-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_test_exec_monitor-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_thread-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_thread-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_thread-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_thread-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_unit_test_framework-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_unit_test_framework-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_unit_test_framework-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_unit_test_framework-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wave-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wave-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wave-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wave-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wserialization-vc100-mt-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wserialization-vc100-mt-gd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wserialization-vc100-mt-s-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
+copy /V /Y %BOOSTDIR%\stage\lib\libboost_wserialization-vc100-mt-sgd-1_47.lib %creaThirdPartyLibraries%\%boost%\lib
 
 echo -----------------------------------
 echo -------------Xcerces---------------
@@ -225,4 +296,16 @@ XCOPY %GDCMINSTALLDIR%\include\* %creaThirdPartyLibraries%\%gdcm%\include /s /i
 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%
 
+:next
+echo %miktex%
+XCOPY "%miktex%\*" %creaThirdPartyLibraries%\%miktexAux% /s /i
\ No newline at end of file