aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/scripts/locate_google_test.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/scripts/locate_google_test.bat
downloadnvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.tar.xz
nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.zip
NvCloth library v1.0.0
Diffstat (limited to 'NvCloth/scripts/locate_google_test.bat')
-rw-r--r--NvCloth/scripts/locate_google_test.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/NvCloth/scripts/locate_google_test.bat b/NvCloth/scripts/locate_google_test.bat
new file mode 100644
index 0000000..60d1bb8
--- /dev/null
+++ b/NvCloth/scripts/locate_google_test.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%
+rem set FOLDER=E:\nx0\physx\externals\GoogleTest\gtest-1.4.0
+rem goto :manualfolder
+
+set FOLDER_NEEDLE=physx\externals\GoogleTest\gtest-1.4.0
+
+call "%~dp0/locate.bat" FOLDER %FOLDER_NEEDLE%
+:manualfolder
+set returnVal=%FOLDER%
+
+( endlocal
+ set "%~1=%returnVal%"
+)
+goto :eof \ No newline at end of file