libgoatvr

diff libgoatvr.vcxproj @ 4:9ed0f1efd4cd

added post-build rules and install.bat
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 29 Aug 2014 07:37:19 +0300
parents 83292083070b
children 61feb3661397
line diff
     1.1 --- a/libgoatvr.vcxproj	Fri Aug 29 05:54:26 2014 +0300
     1.2 +++ b/libgoatvr.vcxproj	Fri Aug 29 07:37:19 2014 +0300
     1.3 @@ -60,6 +60,12 @@
     1.4        <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
     1.5        <AdditionalDependencies>opengl32.lib;libovrd.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
     1.6      </Link>
     1.7 +    <PostBuildEvent>
     1.8 +      <Command>mkdir usr\lib usr\bin usr\include
     1.9 +copy /y src\vr.h usr\include\goatvr.h
    1.10 +copy /y $(TargetPath) usr\bin\$(TargetFileName)
    1.11 +copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
    1.12 +    </PostBuildEvent>
    1.13    </ItemDefinitionGroup>
    1.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    1.15      <ClCompile>
    1.16 @@ -80,6 +86,12 @@
    1.17        <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
    1.18        <AdditionalDependencies>opengl32.lib;libovr.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
    1.19      </Link>
    1.20 +    <PostBuildEvent>
    1.21 +      <Command>mkdir usr\lib usr\bin usr\include
    1.22 +copy /y src\vr.h usr\include\goatvr.h
    1.23 +copy /y $(TargetPath) usr\bin\$(TargetFileName)
    1.24 +copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
    1.25 +    </PostBuildEvent>
    1.26    </ItemDefinitionGroup>
    1.27    <ItemGroup>
    1.28      <ClCompile Include="src\mathutil.c" />