X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Install_ThirdParty%2Fscripts%2Finstall_thirdparty_all.bat;h=4026f5f773774a2267bbbb79367a8d01490cb4ca;hb=2549c77e0f457d90855c2153b77d6cc1c26bee73;hp=0f46618ca62db21646b3e401f76218c74e85a343;hpb=d13e5f2c99ef02917d8bc24ddbc21347f2c522ce;p=creaToolsTools.git diff --git a/Install_ThirdParty/scripts/install_thirdparty_all.bat b/Install_ThirdParty/scripts/install_thirdparty_all.bat index 0f46618..4026f5f 100644 --- a/Install_ThirdParty/scripts/install_thirdparty_all.bat +++ b/Install_ThirdParty/scripts/install_thirdparty_all.bat @@ -18,10 +18,11 @@ set itk=InsightToolkit-3.20.0 set gdcm=gdcm set vtk=VTK -rmdir %binpath% /s /q goto next +rmdir %binpath% /s /q + rmdir %thirdpartyGeneration% /s /q mkdir %thirdpartyGeneration% @@ -60,8 +61,6 @@ cd %xercesc%Bin cmake -G"Visual Studio 10 2008 Win64" -H%sourcepath%\%xercesc% -B%binpath%\%xercesc%Bin cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%xercesc%\ CMakeCache.txt -pause - rem ------------- itk -------------------- @@ -79,15 +78,12 @@ FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%buildType% INSTALL.vcproj :next -set -pause - rem ------------- vtk -------------------- cd %binpath% mkdir %vtk%Bin cd %vtk%Bin -cmake -G"Visual Studio 9 2008 Win64" -H%sourcepath%\%vtk% -B%binpath%\%vtk%Bin -cmake -D USE_DEBUG_LIB:BOOL=$buildType -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%vtk%\ CMakeCache.txt +cmake -G"Visual Studio 10 Win64" -H%sourcepath%\%vtk% -B%binpath%\%vtk%Bin +cmake -D USE_DEBUG_LIB:BOOL=%buildType% -D CMAKE_INSTALL_PREFIX:PATH=%installpath%\%vtk%\ CMakeCache.txt cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D VTK_USE_QT:BOOL=ON CMakeCache.txt cmake CMakeCache.txt call %vcvarsall%