@echo on
call %vcvarsall%
+goto next
+
@echo off
echo -----------------------------------
echo -------Creating Folders------------
@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 -----------------------------------
@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
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