libgoatvr

changeset 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 e63cb28fc644
files .hgignore install.bat libgoatvr.vcxproj libgoatvr_static.vcxproj
diffstat 4 files changed, 28 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/.hgignore	Fri Aug 29 05:54:26 2014 +0300
     1.2 +++ b/.hgignore	Fri Aug 29 07:37:19 2014 +0300
     1.3 @@ -13,3 +13,4 @@
     1.4  \.opensdf$
     1.5  ^Debug
     1.6  ^Release
     1.7 +^usr
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/install.bat	Fri Aug 29 07:37:19 2014 +0300
     2.3 @@ -0,0 +1,5 @@
     2.4 +mkdir c:\usr\include c:\usr\lib c:\usr\bin
     2.5 +copy /y usr\include\* c:\usr\include
     2.6 +copy /y usr\lib\* c:\usr\lib
     2.7 +copy /y usr\bin\* c:\usr\bin
     2.8 +pause
     3.1 --- a/libgoatvr.vcxproj	Fri Aug 29 05:54:26 2014 +0300
     3.2 +++ b/libgoatvr.vcxproj	Fri Aug 29 07:37:19 2014 +0300
     3.3 @@ -60,6 +60,12 @@
     3.4        <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
     3.5        <AdditionalDependencies>opengl32.lib;libovrd.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
     3.6      </Link>
     3.7 +    <PostBuildEvent>
     3.8 +      <Command>mkdir usr\lib usr\bin usr\include
     3.9 +copy /y src\vr.h usr\include\goatvr.h
    3.10 +copy /y $(TargetPath) usr\bin\$(TargetFileName)
    3.11 +copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
    3.12 +    </PostBuildEvent>
    3.13    </ItemDefinitionGroup>
    3.14    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    3.15      <ClCompile>
    3.16 @@ -80,6 +86,12 @@
    3.17        <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
    3.18        <AdditionalDependencies>opengl32.lib;libovr.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
    3.19      </Link>
    3.20 +    <PostBuildEvent>
    3.21 +      <Command>mkdir usr\lib usr\bin usr\include
    3.22 +copy /y src\vr.h usr\include\goatvr.h
    3.23 +copy /y $(TargetPath) usr\bin\$(TargetFileName)
    3.24 +copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
    3.25 +    </PostBuildEvent>
    3.26    </ItemDefinitionGroup>
    3.27    <ItemGroup>
    3.28      <ClCompile Include="src\mathutil.c" />
     4.1 --- a/libgoatvr_static.vcxproj	Fri Aug 29 05:54:26 2014 +0300
     4.2 +++ b/libgoatvr_static.vcxproj	Fri Aug 29 07:37:19 2014 +0300
     4.3 @@ -77,6 +77,11 @@
     4.4        <SubSystem>Windows</SubSystem>
     4.5        <GenerateDebugInformation>true</GenerateDebugInformation>
     4.6      </Link>
     4.7 +    <PostBuildEvent>
     4.8 +      <Command>mkdir usr\lib usr\bin usr\include
     4.9 +copy /y src\vr.h usr\include\goatvr.h
    4.10 +copy /y $(TargetPath) usr\lib\$(TargetFileName)</Command>
    4.11 +    </PostBuildEvent>
    4.12    </ItemDefinitionGroup>
    4.13    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    4.14      <ClCompile>
    4.15 @@ -95,6 +100,11 @@
    4.16        <EnableCOMDATFolding>true</EnableCOMDATFolding>
    4.17        <OptimizeReferences>true</OptimizeReferences>
    4.18      </Link>
    4.19 +    <PostBuildEvent>
    4.20 +      <Command>mkdir usr\lib usr\bin usr\include
    4.21 +copy /y src\vr.h usr\include\goatvr.h
    4.22 +copy /y $(TargetPath) usr\lib\$(TargetFileName)</Command>
    4.23 +    </PostBuildEvent>
    4.24    </ItemDefinitionGroup>
    4.25    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    4.26    <ImportGroup Label="ExtensionTargets">