diff options
Diffstat (limited to 'ovr_sdk_win_23.0.0/OVRRootPath.props')
-rw-r--r-- | ovr_sdk_win_23.0.0/OVRRootPath.props | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ovr_sdk_win_23.0.0/OVRRootPath.props b/ovr_sdk_win_23.0.0/OVRRootPath.props new file mode 100644 index 0000000..db17fc5 --- /dev/null +++ b/ovr_sdk_win_23.0.0/OVRRootPath.props @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +To load this file your .vcxproj should have the following Import tag before all others: + +<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), OVRRootPath.props))\OVRRootPath.props" /> + +Unfortunately there is currently no way to add this via the VS GUI, you'll have to edit +new .vcxproj files manually or copy an existing project. + +--> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup Label="UserMacros"> + <OVRSDKROOT>$(MSBuildThisFileDirectory)</OVRSDKROOT> + <VSDIR Condition="'$(PlatformToolset)'=='v120'">VS2013</VSDIR> + <VSDIR Condition="'$(PlatformToolset)'=='v140'">VS2015</VSDIR> + <VSDIR Condition="'$(PlatformToolset)'=='v141'">VS2017</VSDIR> + </PropertyGroup> + <PropertyGroup /> + <ItemDefinitionGroup /> + <ItemGroup> + <BuildMacro Include="OVRSDKROOT"> + <Value>$(OVRSDKROOT)</Value> + <EnvironmentVariable>true</EnvironmentVariable> + </BuildMacro> + <BuildMacro Include="VSDIR"> + <Value>$(VSDIR)</Value> + <EnvironmentVariable>true</EnvironmentVariable> + </BuildMacro> + </ItemGroup> +</Project> |