-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGLSLValidateVS.props
21 lines (21 loc) · 1.04 KB
/
GLSLValidateVS.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)/GLSLValidateTargets.props" />
<AvailableItemName Include="GLSLValidate">
<Targets>GLSLValidate</Targets>
</AvailableItemName>
</ItemGroup>
<ImportGroup Label="PropertySheets" />
<PropertyGroup />
<ItemDefinitionGroup />
<ItemGroup>
<BuildMacro Include="GLSLVALIDATOREXE">
<Value>$(GLSLVALIDATOREXE)</Value>
</BuildMacro>
</ItemGroup>
<Target Name="GLSLValidate" Inputs="@(GLSLValidate)" BeforeTargets="ClCompile" Outputs="@(GLSLValidate->'$(IntermediateOutputPath)\%(Filename)%(Extension).timestamp')">
<Message Text="$(GLSLVALIDATOREXE) "%(GLSLValidate.FullPath)"" Importance="high" />
<Exec Command="$(GLSLVALIDATOREXE) "%(GLSLValidate.FullPath)" && echo 1 > "$(IntermediateOutputPath)\%(Filename)%(Extension).timestamp"" />
</Target>
</Project>