This commit is contained in:
2025-03-22 17:31:35 -04:00
parent f4c82f0fb3
commit c56bc43723
4 changed files with 7 additions and 11 deletions

View File

@@ -301,16 +301,6 @@
</ItemGroup>
<ItemGroup>
<Content Include="include\Core\Thread\Mutex.h" />
<CopyFileToFolders Include="src\Graphics\D3D12\AgilitySDK\bin\D3D12Core.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</CopyFileToFolders>
<CopyFileToFolders Include="src\Graphics\D3D12\AgilitySDK\bin\D3D12Core.pdb" />
<CopyFileToFolders Include="src\Graphics\D3D12\AgilitySDK\bin\d3d12SDKLayers.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</CopyFileToFolders>
<CopyFileToFolders Include="src\Graphics\D3D12\AgilitySDK\bin\d3d12SDKLayers.pdb" />
<Content Include="src\Graphics\D3D12\AgilitySDK\bin\d3dconfig.exe" />
<Content Include="src\Graphics\D3D12\AgilitySDK\bin\d3dconfig.pdb" />
<Content Include="src\Graphics\D3D12\AgilitySDK\d3d12.idl" />
<Content Include="src\Graphics\D3D12\AgilitySDK\d3d12compatibility.idl" />
<Content Include="src\Graphics\D3D12\AgilitySDK\d3d12sdklayers.idl" />

View File

@@ -25,7 +25,7 @@
extern "C" {
// Used to enable the "Agility SDK" components
__declspec(dllexport) extern const unsigned int D3D12SDKVersion = 615;
__declspec(dllexport) extern const char* D3D12SDKPath = ".\\";
__declspec(dllexport) extern const char* D3D12SDKPath = ".\\D3D12\\";
}
// TODO : Use LoadLibrary and not link to the lib. Allows failing earlier if Dx12 is not installed for some reason

View File

@@ -1,3 +1,5 @@
- Create Simple vector class to make the vector stuff a bit more easier than writing Capacity and Count
- Make a string struct instead of StringBuffer.
- Support wchar and char (template is ok) conversions, printf, compare, etc.
- Create a post build bat script to copy stuff i need in the correct folders

View File

@@ -145,6 +145,10 @@
<PreBuildEvent>
<Command></Command>
</PreBuildEvent>
<PostBuildEvent>
<Command>xcopy /y "$(SolutionDir)\Juliet\src\Graphics\D3D12\AgilitySDK\bin\*.*" "$(SolutionDir)\bin\$(Platform)\$(Configuration)\D3D12\*.*"</Command>
<Message>Copy DX12 Agility SDK Binaries</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>