)
-set installpath=%thirdpartyGeneration%\thirdparty_install
-set binpath=%thirdpartyGeneration%\thirdparty_bin
-set sourcepath=%thirdpartyGeneration%\thirdparty_source
+set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
+set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
+set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
set qt=Qt-4.7.3
set buildWxWidgets28=1
echo -------Creating Folders------------
echo -----------------------------------
-rmdir %binpath% /s /q
-
-rmdir %thirdpartyGeneration% /s /q
+rmdir /S /Q %thirdpartyGeneration%
mkdir %thirdpartyGeneration%
cd %thirdpartyGeneration%
-mkdir thirdparty_source
-mkdir thirdparty_bin
-mkdir thirdparty_install
+mkdir %sourcepath%
+mkdir %binpath%
+mkdir %installpath%
echo ------End Creating Folders---------
echo ------Downloading Sources----------
echo -----------------------------------
-cd %thirdpartyGeneration%\thirdparty_source\
+cd %sourcepath%\
%wgetPath% %urlCreatisSource%/qt-4.7.3.zip
IF %buildWxWidgets28%==0 (
%wgetPath% %urlCreatisSource%/wxWidgets-2.9.2.7z
echo ----------Extracting---------------
cd %sourcepath%
-%zipPath% x %thirdpartyGeneration%\thirdparty_source\boost_1_46_1.7z
-del %thirdpartyGeneration%\thirdparty_source\boost_1_46_1.7z
+%zipPath% x %sourcepath%\boost_1_46_1.7z
+del %sourcepath%\boost_1_46_1.7z
echo --------Renaming Folder------------
echo ----------Extracting---------------
cd %sourcepath%
-%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
+%zipPath% x %sourcepath%\VTK-5.8.0.tar.gz
+%zipPath% x %sourcepath%\VTK-5.8.0.tar
+cd %sourcepath%\VTK
+del %sourcepath%\VTK-5.8.0.tar.gz
+del %sourcepath%\VTK-5.8.0.tar
echo ----------Installing---------------