+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
+
set thirdpartyGeneration=<directory where you want to generate>
set buildType=<debug|release|RelWithDebInfo>
+echo thirdpartyGeneration=%thirdpartyGeneration%
+echo buildType=%buildType%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling install_thirdparty_all.bat
+
call install_thirdparty_all.bat %thirdpartyGeneration% %buildType% >> install_generate_thirdparty.log 2>&1
+echo Calling move_thirdparty_dlls.bat
+
call move_thirdparty_dlls.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo Calling move_thirdparty_libraries.bat
+
call move_thirdparty_libraries.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo Calling install_thirdparty_dlls_cmake.bat
+
call install_thirdparty_dlls_cmake.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
+echo Calling install_thirdparty_libraries_cmake.bat
+
call install_thirdparty_libraries_cmake.bat %thirdpartyGeneration% >> install_generate_thirdparty.log 2>&1
-cd ..
\ No newline at end of file
+cd ..
+
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+exit
\ No newline at end of file
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
set thirdpartyGeneration=<directory where you want to generate>
set buildType=<debug|release|RelWithDebInfo>
+
+echo thirdpartyGeneration=%thirdpartyGeneration%
+echo buildType=%buildType%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling install_thirdparty_all.bat
+
call install_thirdparty_all.bat %thirdpartyGeneration% %buildType% >> install.log 2>&1
+
cd ..
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+
+exit
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
set thirdpartyGeneration=<directory where the generation was made>
+echo thirdpartyGeneration=%thirdpartyGeneration%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling install_thirdparty_dlls_cmake.bat
+
call install_thirdparty_dlls_cmake.bat %thirdpartyGeneration% >> install_thirdparty_dlls_cmake.log 2>&1
-cd ..
\ No newline at end of file
+
+cd ..
+
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+exit
\ No newline at end of file
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
set thirdpartyGeneration=<directory where the generation was made>
+echo thirdpartyGeneration=%thirdpartyGeneration%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling install_thirdparty_libraries_cmake.bat
+
call install_thirdparty_libraries_cmake.bat %thirdpartyGeneration% >> install_thirdparty_libraries_cmake.log 2>&1
-cd ..
\ No newline at end of file
+
+cd ..
+
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+exit
\ No newline at end of file
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
set thirdpartyGeneration=<directory where the generation was made>
+echo thirdpartyGeneration=%thirdpartyGeneration%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling move_thirdparty_dlls.bat
+
call move_thirdparty_dlls.bat %thirdpartyGeneration% >> move_thirdparty_dlls.log 2>&1
+
cd ..
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+exit
+
+@echo off
+
+echo -----------------------------------
+echo ---Setting Environment Variables---
+echo -----------------------------------
set thirdpartyGeneration=<directory where the generation was made>
+echo thirdpartyGeneration=%thirdpartyGeneration%
+
+echo -----------------------------------
+echo ---End Setting Global Variables----
+echo -----------------------------------
+
+echo -----------------------------------
+echo -------Calling Scripts-------------
+echo -----------------------------------
+
cd scripts
+
+echo Calling move_thirdparty_libraries.bat
+
call move_thirdparty_libraries.bat %thirdpartyGeneration% >> move_thirdparty_libraries.log 2>&1
-cd ..
\ No newline at end of file
+
+cd ..
+
+echo -----------------------------------
+echo -------End of the Script-----------
+echo -----------------------------------
+
+pause
+exit
\ No newline at end of file
echo ----End Asking Architecture--------
echo -----------------------------------
-echo ---Setting Environment Variables----
+echo ---Setting Environment Variables---
echo -----------------------------------
set thirdpartyGeneration=%1
echo VTKSRCDIR=%VTKSRCDIR%
echo GDCMDIR=%GDCMSRCDIR%
+echo -----------------------------------
echo ---End Setting Global Variables----
echo -----------------------------------
echo -----------------------------------
echo ---End of Installing Libraries-----
echo -----------------------------------
-@echo on
\ No newline at end of file
+
+exit /B
\ No newline at end of file
cmake CMakeCache.txt
FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
msbuild /p:Configuration=release PACKAGE.vcxproj
-@echo on
\ No newline at end of file
+
+exit /B
\ No newline at end of file
cmake CMakeCache.txt
FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
msbuild /p:Configuration=release PACKAGE.vcxproj
-@echo on
\ No newline at end of file
+
+exit /B
\ No newline at end of file
copy /V /Y %GDCMINSTALLDIR%\bin\*.dll %creaThirdPartydlls%
echo -----------------------------------
echo ------End of Moving Dlls-----------
-echo -----------------------------------
\ No newline at end of file
+echo -----------------------------------
+
+exit /B
\ No newline at end of file
echo -----------------------------------
echo -----End of Moving Libraries-------
-echo -----------------------------------
\ No newline at end of file
+echo -----------------------------------
+
+exit /B
\ No newline at end of file