aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/scripts/locate_nvcloth.bat
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/scripts/locate_nvcloth.bat')
-rw-r--r--NvCloth/scripts/locate_nvcloth.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/NvCloth/scripts/locate_nvcloth.bat b/NvCloth/scripts/locate_nvcloth.bat
new file mode 100644
index 0000000..cc978e7
--- /dev/null
+++ b/NvCloth/scripts/locate_nvcloth.bat
@@ -0,0 +1,18 @@
+@echo off
+setlocal enabledelayedexpansion
+
+
+rem use the following 2 lines to manually point to the google test folder \\sw\%FOLDER_NEEDLE%
+set FOLDER=%~dp0/../
+goto :manualfolder
+
+set FOLDER_NEEDLE=NvCloth
+
+call "%~dp0/locate.bat" FOLDER %FOLDER_NEEDLE%
+:manualfolder
+set returnVal=%FOLDER%
+
+( endlocal
+ set "%~1=%returnVal%"
+)
+goto :eof \ No newline at end of file