aboutsummaryrefslogtreecommitdiff
path: root/examples/UnityExample/copy_dlls.bat
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
committerBryan Galdrikian <[email protected]>2017-02-24 09:32:20 -0800
commite1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch)
tree9f0cfce09c71a2c27ff19589fcad6cd83504477c /examples/UnityExample/copy_dlls.bat
parentfirst commit (diff)
downloadblast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz
blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'examples/UnityExample/copy_dlls.bat')
-rw-r--r--examples/UnityExample/copy_dlls.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/UnityExample/copy_dlls.bat b/examples/UnityExample/copy_dlls.bat
new file mode 100644
index 0000000..620a0db
--- /dev/null
+++ b/examples/UnityExample/copy_dlls.bat
@@ -0,0 +1,24 @@
+@echo off
+
+CALL :COPY_DLL NvBlast_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastDEBUG_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtCommonDEBUG_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtCommon_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtShadersDEBUG_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtShaders_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtUtilsDEBUG_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+CALL :COPY_DLL NvBlastExtUtils_x64.dll ..\..\bin\vc14win64-cmake Assets\Plugins\Blast\x64
+
+GOTO END
+
+:COPY_DLL
+if NOT EXIST %3 MKDIR %3
+IF NOT EXIST %2\%1 (
+ REM ECHO File doesn't exist %1
+) ELSE (
+ ECHO COPY "%2\%1" "%3\%1"
+ COPY "%2\%1" "%3\%1"
+)
+GOTO END
+
+:END