Skip to content

Commit

Permalink
Adding git submodule to DirectX ToolKit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrange committed Oct 23, 2022
1 parent c90e154 commit 1c073e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "dep/gsl"]
path = dep/gsl
url = https://github.com/microsoft/gsl
[submodule "dep/DirectXTK"]
path = dep/DirectXTK
url = https://github.com/microsoft/DirectXTK.git
1 change: 1 addition & 0 deletions dep/DirectXTK
Submodule DirectXTK added at d1d5e7
6 changes: 5 additions & 1 deletion src/renderer/atlas/atlas.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
<ProjectName>RendererAtlas</ProjectName>
<TargetName>ConRenderAtlas</TargetName>
<ConfigurationType>StaticLibrary</ConfigurationType>
<IncludePath>$(SolutionDir)\dep\DirectXTK\Inc;$(IncludePath)</IncludePath>
</PropertyGroup>
<Import Project="$(SolutionDir)src\common.build.pre.props" />
<Import Project="$(SolutionDir)src\common.nugetversions.props" />
<ItemGroup>
<ClCompile Include="..\..\..\dep\DirectXTK\Src\WICTextureLoader.cpp" />
<ClCompile Include="AtlasEngine.api.cpp" />
<ClCompile Include="AtlasEngine.r.cpp" />
<ClCompile Include="dwrite.cpp" />
Expand All @@ -19,12 +21,14 @@
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="AtlasEngine.cpp" />
<ClCompile Include="TextureLoader.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="dwrite.h" />
<ClInclude Include="DWriteTextAnalysis.h" />
<ClInclude Include="pch.h" />
<ClInclude Include="AtlasEngine.h" />
<ClInclude Include="TextureLoader.h" />
</ItemGroup>
<ItemGroup>
<FxCompile Include="custom_shader_ps.hlsl">
Expand Down Expand Up @@ -83,4 +87,4 @@
<AdditionalIncludeDirectories>$(OutDir)$(ProjectName)\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
</Project>
</Project>
3 changes: 3 additions & 0 deletions src/renderer/atlas/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#include <dxgidebug.h>
#include <VersionHelpers.h>

#include <wrl/client.h>
#include <wincodec.h>

#include <gsl/gsl_util>
#include <gsl/pointers>
#include <gsl/span>
Expand Down

0 comments on commit 1c073e5

Please sign in to comment.