summaryrefslogtreecommitdiff
path: root/StormLib.bat
blob: 65e8429a7dc7d3f10a7a2660310b692a063463a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@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