forked from GameTechDev/PresentMon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPresentMon.props
More file actions
34 lines (34 loc) · 1.69 KB
/
PresentMon.props
File metadata and controls
34 lines (34 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<PresentMonVersion>dev</PresentMonVersion>
<PresentMonPlatform>$(Platform)</PresentMonPlatform>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(Platform)'=='Win32'">
<PresentMonPlatform>x86</PresentMonPlatform>
</PropertyGroup>
<PropertyGroup>
<OutDir>$(MsBuildThisFileDirectory)build\$(Configuration)\</OutDir>
<IntDir>$(MsBuildThisFileDirectory)build\obj\$(ProjectName)-$(Platform)-$(Configuration)\</IntDir>
<TargetName>$(ProjectName)-$(PresentMonVersion)-$(PresentMonPlatform)</TargetName>
<CustomBuildBeforeTargets>ClCompile</CustomBuildBeforeTargets>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MsBuildThisFileDirectory)build\obj;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<CustomBuildStep>
<Message>Generating version sources for $(PresentMonVersion)</Message>
<Command>$(MsBuildThisFileDirectory)Tools\generate_version_sources.cmd $(PresentMonVersion) $(MsBuildThisFileDirectory)build\obj\generated\version.h</Command>
<Outputs>$(MsBuildThisFileDirectory)build\obj\generated\version.h</Outputs>
<TreatOutputAsContent>false</TreatOutputAsContent>
</CustomBuildStep>
</ItemDefinitionGroup>
<ItemGroup />
</Project>