]> Creatis software - creaToolsTools.git/blob - Install_ThirdParty/scripts/cleanAll.bat
d074d4a56072514a91715cd4b00db92494683039
[creaToolsTools.git] / Install_ThirdParty / scripts / cleanAll.bat
1 @echo off
2
3 set thirdpartyGeneration=%1
4
5 set installpath=%thirdpartyGeneration%\thirdparty_install\%buildType%
6 set binpath=%thirdpartyGeneration%\thirdparty_bin\%buildType%
7 set sourcepath=%thirdpartyGeneration%\thirdparty_source\%buildType%
8 set LogFolder=%thirdpartyGeneration%\installLog
9
10 echo -----------------------------------
11 echo -------Removing Folders------------
12 echo -----------------------------------
13
14 rmdir /S /Q %sourcepath%
15 rmdir /S /Q %binpath%
16 rmdir /S /Q %installpath%
17 rmdir /S /Q %LogFolder%
18
19 echo -----------------------------------
20 echo -------Creating Folders------------
21 echo -----------------------------------
22
23 mkdir %thirdpartyGeneration%
24 cd  %thirdpartyGeneration%
25 mkdir %sourcepath%
26 mkdir %binpath%
27 mkdir %installpath%
28 mkdir %LogFolder%