libgoatvr

view 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 source
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
11 </ProjectConfiguration>
12 </ItemGroup>
13 <PropertyGroup Label="Globals">
14 <ProjectGuid>{6AD69AF8-6F44-4D45-A59C-A7A07F6E1CE0}</ProjectGuid>
15 <Keyword>Win32Proj</Keyword>
16 <RootNamespace>libgoatvr</RootNamespace>
17 </PropertyGroup>
18 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20 <ConfigurationType>DynamicLibrary</ConfigurationType>
21 <UseDebugLibraries>true</UseDebugLibraries>
22 <PlatformToolset>v120</PlatformToolset>
23 <CharacterSet>MultiByte</CharacterSet>
24 </PropertyGroup>
25 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
26 <ConfigurationType>DynamicLibrary</ConfigurationType>
27 <UseDebugLibraries>false</UseDebugLibraries>
28 <PlatformToolset>v120</PlatformToolset>
29 <WholeProgramOptimization>false</WholeProgramOptimization>
30 <CharacterSet>MultiByte</CharacterSet>
31 </PropertyGroup>
32 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
33 <ImportGroup Label="ExtensionSettings">
34 </ImportGroup>
35 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
36 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
37 </ImportGroup>
38 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
39 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40 </ImportGroup>
41 <PropertyGroup Label="UserMacros" />
42 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
43 <LinkIncremental>true</LinkIncremental>
44 </PropertyGroup>
45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46 <LinkIncremental>false</LinkIncremental>
47 </PropertyGroup>
48 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
49 <ClCompile>
50 <PrecompiledHeader>
51 </PrecompiledHeader>
52 <WarningLevel>Level3</WarningLevel>
53 <Optimization>Disabled</Optimization>
54 <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBGOATVR_EXPORTS;%(PreprocessorDefinitions);USE_LIBOVR</PreprocessorDefinitions>
55 <DisableSpecificWarnings>4244;4996</DisableSpecificWarnings>
56 </ClCompile>
57 <Link>
58 <SubSystem>Windows</SubSystem>
59 <GenerateDebugInformation>true</GenerateDebugInformation>
60 <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
61 <AdditionalDependencies>opengl32.lib;libovrd.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
62 </Link>
63 <PostBuildEvent>
64 <Command>mkdir usr\lib usr\bin usr\include
65 copy /y src\vr.h usr\include\goatvr.h
66 copy /y $(TargetPath) usr\bin\$(TargetFileName)
67 copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
68 </PostBuildEvent>
69 </ItemDefinitionGroup>
70 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
71 <ClCompile>
72 <WarningLevel>Level3</WarningLevel>
73 <PrecompiledHeader>
74 </PrecompiledHeader>
75 <Optimization>MaxSpeed</Optimization>
76 <FunctionLevelLinking>true</FunctionLevelLinking>
77 <IntrinsicFunctions>true</IntrinsicFunctions>
78 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBGOATVR_EXPORTS;%(PreprocessorDefinitions);USE_LIBOVR</PreprocessorDefinitions>
79 <DisableSpecificWarnings>4244;4996</DisableSpecificWarnings>
80 </ClCompile>
81 <Link>
82 <SubSystem>Windows</SubSystem>
83 <GenerateDebugInformation>true</GenerateDebugInformation>
84 <EnableCOMDATFolding>true</EnableCOMDATFolding>
85 <OptimizeReferences>true</OptimizeReferences>
86 <ModuleDefinitionFile>libgoatvr.def</ModuleDefinitionFile>
87 <AdditionalDependencies>opengl32.lib;libovr.lib;%(AdditionalDependencies);winmm.lib;ws2_32.lib</AdditionalDependencies>
88 </Link>
89 <PostBuildEvent>
90 <Command>mkdir usr\lib usr\bin usr\include
91 copy /y src\vr.h usr\include\goatvr.h
92 copy /y $(TargetPath) usr\bin\$(TargetFileName)
93 copy /y $(TargetDir)$(TargetName).lib usr\lib\$(TargetName).lib</Command>
94 </PostBuildEvent>
95 </ItemDefinitionGroup>
96 <ItemGroup>
97 <ClCompile Include="src\mathutil.c" />
98 <ClCompile Include="src\opt.c" />
99 <ClCompile Include="src\rbtree.c" />
100 <ClCompile Include="src\vr.c" />
101 <ClCompile Include="src\vr_libovr.c" />
102 <ClCompile Include="src\vr_modules.c" />
103 <ClCompile Include="src\vr_null.c" />
104 <ClCompile Include="src\vr_openhmd.c" />
105 </ItemGroup>
106 <ItemGroup>
107 <ClInclude Include="src\mathutil.h" />
108 <ClInclude Include="src\opt.h" />
109 <ClInclude Include="src\rbtree.h" />
110 <ClInclude Include="src\vr.h" />
111 <ClInclude Include="src\vr_impl.h" />
112 </ItemGroup>
113 <ItemGroup>
114 <None Include="libgoatvr.def" />
115 </ItemGroup>
116 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
117 <ImportGroup Label="ExtensionTargets">
118 </ImportGroup>
119 </Project>