Skip to content

Commit

Permalink
Don't fail the VS build if dxcompiler isn't present (fixes TheRealMJP#7)
Browse files Browse the repository at this point in the history
TheRealMJP committed Feb 4, 2018
1 parent 7767a72 commit d9fcd00
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BindlessDeferred/BindlessDeferred.vcxproj
Original file line number Diff line number Diff line change
@@ -231,6 +231,8 @@
<ItemGroup>
<CustomBuild Include="..\Externals\DXCompiler\Bin\dxcompiler.dll">
<FileType>Document</FileType>
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(ProjectDir)$(SampleFrameworkDir)Scripts\SoftCopy.bat %(FullPath) $(OutDir)%(Filename)%(Extension)</Command>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(ProjectDir)$(SampleFrameworkDir)Scripts\SoftCopy.bat %(FullPath) $(OutDir)%(Filename)%(Extension)</Command>
</CustomBuild>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
1 change: 1 addition & 0 deletions SampleFramework12/v1.01/Scripts/SoftCopy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IF EXIST %1 (copy %1 %2)

0 comments on commit d9fcd00

Please sign in to comment.