diff options
Diffstat (limited to 'StormLib.bat')
-rw-r--r-- | StormLib.bat | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/StormLib.bat b/StormLib.bat index 65e8429..509a0ef 100644 --- a/StormLib.bat +++ b/StormLib.bat @@ -1,22 +1,25 @@ -@echo off -rem Post-build batch for StormLib project -rem Called as StormLib.bat $(PlatformName) $(ConfigurationName) -rem Example: StormLib.bat x64 Debug - -copy src\StormPort.h ..\aaa\inc -copy src\StormLib.h ..\aaa\inc - -if x%1 == xWin32 goto PlatformWin32 -if x%1 == xx64 goto PlatformWin64 -goto exit - -:PlatformWin32 -copy .\bin\StormLib\%1\%2\*.lib ..\aaa\lib32 -goto exit - -:PlatformWin64 -copy .\bin\StormLib\%1\%2\*.lib ..\aaa\lib64 -goto exit - -:exit - +@echo off
+rem Post-build batch for StormLib project
+rem Called as StormLib.bat $(PlatformName) $(ConfigurationName)
+rem Example: StormLib.bat x64 Debug
+
+if not exist ..\aaa goto exit
+
+copy src\StormPort.h ..\aaa\inc
+copy src\StormLib.h ..\aaa\inc
+
+if x%1 == xWin32 goto PlatformWin32
+if x%1 == xx64 goto PlatformWin64
+goto exit
+
+:PlatformWin32
+copy .\bin\StormLib\%1\%2\*.lib ..\aaa\lib32
+goto exit
+
+:PlatformWin64
+copy .\bin\StormLib\%1\%2\*.lib ..\aaa\lib64
+goto exit
+
+:exit
+
+
|