]> Creatis software - creaToolsTools.git/commitdiff
DFCH: Script with the last VTK update (GDCM still doesn't work :s :s)
authorDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Mon, 26 Sep 2011 08:09:06 +0000 (08:09 +0000)
committerDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Mon, 26 Sep 2011 08:09:06 +0000 (08:09 +0000)
Install_ThirdParty/scripts/install_thirdparty_all.bat

index 0086fbe2cea9a2490aa9ceb626762797ff9551df..9ae437587917863263fb1cef6a5fdaae2ecbadd7 100644 (file)
@@ -43,6 +43,8 @@ echo -----------------------------------
 @echo on
 call %vcvarsall%
 
+goto next
+
 @echo off
 echo -----------------------------------
 echo -------Creating Folders------------
@@ -166,6 +168,48 @@ cd C:\
 @echo off
 echo -----End Boost Installation--------
 
+echo -----------------------------------
+echo -------ITK Installation------------
+echo -----------------------------------
+echo ----------Extracting---------------
+@echo on
+cd %thirdpartyGeneration%\thirdparty_source
+%zipPath% x InsightToolkit-3.20.0.zip
+del InsightToolkit-3.20.0.zip
+@echo off
+echo ----------Installing---------------
+@echo on
+cd  %binpath%
+mkdir %itk%Bin
+cd %itk%Bin
+cmake -G"Visual Studio 10" -H%sourcepath%\%itk% -B%binpath%\%itk%Bin 
+cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%itk%\ -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
+cmake -D USE_DEBUG_LIB:BOOL=%buildType% CMakeCache.txt
+cmake CMakeCache.txt
+FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
+msbuild /p:Configuration=%buildType% INSTALL.vcxproj
+cd c:\
+@echo off
+echo ------End ITK Installation---------
+
+echo -----------------------------------
+echo ------XERCES Installation----------
+echo -----------------------------------
+echo ----------Extracting---------------
+@echo on
+cd %thirdpartyGeneration%\thirdparty_source
+%zipPath% x xerces-c-3.1.1.zip
+del xerces-c-3.1.1.zip
+@echo off
+echo ----------Installing---------------
+@echo on
+cd  %sourcepath%\%xercesc%\projects\Win32\VC10\xerces-all
+FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=build
+FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
+msbuild /p:Configuration=%buildType% INSTALL.vcxproj
+@echo off
+echo -----End XERCES Installation-------
+:next
 echo -----------------------------------
 echo -------VTK Installation------------
 echo -----------------------------------
@@ -173,10 +217,10 @@ echo ----------Extracting---------------
 @echo on
 cd %thirdpartyGeneration%\thirdparty_source\
 %zipPath% x %thirdpartyGeneration%\thirdparty_source\vtk-5.8.0.tar.gz
-%zipPath% x %thirdpartyGeneration%\thirdparty_source\vtk-5.8.0.tar.gz
+%zipPath% x %thirdpartyGeneration%\thirdparty_source\vtk-5.8.0.tar
 cd %thirdpartyGeneration%\thirdparty_source\VTK
 del %thirdpartyGeneration%\thirdparty_source\VTK-5.8.0.tar.gz
-del %thirdpartyGeneration%\thirdparty_source\VTK-5.8.0.tar.gz
+del %thirdpartyGeneration%\thirdparty_source\VTK-5.8.0.tar
 @echo off
 echo ----------Installing---------------
 @echo on
@@ -219,48 +263,6 @@ msbuild /p:Configuration=%buildType% INSTALL.vcxproj
 cd c:\
 @echo off
 echo -----End GDCM Installation---------
-
-echo -----------------------------------
-echo -------ITK Installation------------
-echo -----------------------------------
-echo ----------Extracting---------------
-@echo on
-cd %thirdpartyGeneration%\thirdparty_source
-%zipPath% x InsightToolkit-3.20.0.zip
-del InsightToolkit-3.20.0.zip
-@echo off
-echo ----------Installing---------------
-@echo on
-cd  %binpath%
-mkdir %itk%Bin
-cd %itk%Bin
-cmake -G"Visual Studio 10" -H%sourcepath%\%itk% -B%binpath%\%itk%Bin 
-cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%itk%\ -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D ITK_USE_REVIEW:BOOL=ON CMakeCache.txt
-cmake -D USE_DEBUG_LIB:BOOL=%buildType% CMakeCache.txt
-cmake CMakeCache.txt
-FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
-msbuild /p:Configuration=%buildType% INSTALL.vcxproj
-cd c:\
-@echo off
-echo ------End ITK Installation---------
-
-echo -----------------------------------
-echo ------XERCES Installation----------
-echo -----------------------------------
-echo ----------Extracting---------------
-@echo on
-cd %thirdpartyGeneration%\thirdparty_source
-%zipPath% x xerces-c-3.1.1.zip
-del xerces-c-3.1.1.zip
-@echo off
-echo ----------Installing---------------
-@echo on
-cd  %sourcepath%\%xercesc%\projects\Win32\VC10\xerces-all
-FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=build
-FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
-msbuild /p:Configuration=%buildType% INSTALL.vcxproj
-@echo off
-echo -----End XERCES Installation-------
 @echo on
 cd c:\
 pause