aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/clean.bat
diff options
context:
space:
mode:
authormtamis <[email protected]>2017-02-15 16:06:25 +0100
committermtamis <[email protected]>2017-02-15 16:06:25 +0100
commit85305930aeeb1d513e23522bd91f29ba81aa6d14 (patch)
tree45f1bb20a45a300d1fef107e436cac95602a0e57 /NvCloth/clean.bat
downloadnvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.tar.xz
nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.zip
NvCloth library v1.0.0
Diffstat (limited to 'NvCloth/clean.bat')
-rw-r--r--NvCloth/clean.bat29
1 files changed, 29 insertions, 0 deletions
diff --git a/NvCloth/clean.bat b/NvCloth/clean.bat
new file mode 100644
index 0000000..c07b1ed
--- /dev/null
+++ b/NvCloth/clean.bat
@@ -0,0 +1,29 @@
+@echo off
+setlocal enabledelayedexpansion
+SET /P AREYOUSURE=Are you sure you want to delete all generated/compiled files (Y/[N])?
+IF /I "%AREYOUSURE%" NEQ "Y" GOTO EOF
+
+rd .\bin /s /q
+md .\bin
+rd .\lib /s /q
+md .\lib
+rd .\RenderCloth\bin /s /q
+md .\RenderCloth\bin
+rd .\test\bin /s /q
+md .\test\bin
+rd .\test\lib /s /q
+md .\test\lib
+
+for /d %%G in (".\compiler\vc*") do (
+rd %%G /s /q
+)
+
+for /d %%G in (".\test\compiler\vc*") do (
+rd %%G /s /q
+)
+
+for /d %%G in (".\RenderCloth\compiler\vc*") do (
+rd %%G /s /q
+)
+
+pause