# HG changeset patch
# User John Tsiombikas <nuclear@member.fsf.org>
# Date 1409287039 -10800
# Node ID 9ed0f1efd4cd8e54c1511c9327ac0feae1fbfcf4
# Parent  83292083070b1311727489a25729eea2d759c7ab
added post-build rules and install.bat

diff -r 83292083070b -r 9ed0f1efd4cd .hgignore
--- a/.hgignore	Fri Aug 29 05:54:26 2014 +0300
+++ b/.hgignore	Fri Aug 29 07:37:19 2014 +0300
@@ -13,3 +13,4 @@
 \.opensdf$
 ^Debug
 ^Release
+^usr
diff -r 83292083070b -r 9ed0f1efd4cd install.bat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install.bat	Fri Aug 29 07:37:19 2014 +0300
@@ -0,0 +1,5 @@
+mkdir c:\usr\include c:\usr\lib c:\usr\bin
+copy /y usr\include\* c:\usr\include
+copy /y usr\lib\* c:\usr\lib
+copy /y usr\bin\* c:\usr\bin
+pause
diff -r 83292083070b -r 9ed0f1efd4cd libgoatvr.vcxproj
--- a/libgoatvr.vcxproj	Fri Aug 29 05:54:26 2014 +0300
+++ b/libgoatvr.vcxproj	Fri Aug 29 07:37:19 2014 +0300
@@ -60,6 +60,12 @@
       <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
       <AdditionalDependencies>opengl32.lib;libovrd.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
     </Link>
+    <PostBuildEvent>
+      <Command>mkdir usr\lib usr\bin usr\include
+copy /y src\vr.h usr\include\goatvr.h
+copy /y $(TargetPath) usr\bin\$(TargetFileName)
+copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
@@ -80,6 +86,12 @@
       <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
       <AdditionalDependencies>opengl32.lib;libovr.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
     </Link>
+    <PostBuildEvent>
+      <Command>mkdir usr\lib usr\bin usr\include
+copy /y src\vr.h usr\include\goatvr.h
+copy /y $(TargetPath) usr\bin\$(TargetFileName)
+copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
     <ClCompile Include="src\mathutil.c" />
diff -r 83292083070b -r 9ed0f1efd4cd libgoatvr_static.vcxproj
--- a/libgoatvr_static.vcxproj	Fri Aug 29 05:54:26 2014 +0300
+++ b/libgoatvr_static.vcxproj	Fri Aug 29 07:37:19 2014 +0300
@@ -77,6 +77,11 @@
       <SubSystem>Windows</SubSystem>
       <GenerateDebugInformation>true</GenerateDebugInformation>
     </Link>
+    <PostBuildEvent>
+      <Command>mkdir usr\lib usr\bin usr\include
+copy /y src\vr.h usr\include\goatvr.h
+copy /y $(TargetPath) usr\lib\$(TargetFileName)</Command>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
@@ -95,6 +100,11 @@
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <OptimizeReferences>true</OptimizeReferences>
     </Link>
+    <PostBuildEvent>
+      <Command>mkdir usr\lib usr\bin usr\include
+copy /y src\vr.h usr\include\goatvr.h
+copy /y $(TargetPath) usr\lib\$(TargetFileName)</Command>
+    </PostBuildEvent>
   </ItemDefinitionGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
   <ImportGroup Label="ExtensionTargets">