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