mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-16 10:45:45 +00:00
Generate linux json from windows json, to avoid having two files
* The linux json file has a different name but this isn't important. Currently I'm not sure how the json/lib will be placed (will it be installed somewhere and the json point at /opt/renderdoc/ or what?)
This commit is contained in:
@@ -54,7 +54,10 @@ OBJDIR_OBJECTS=$(addprefix $(OBJDIR)/, $(OBJECTS))
|
||||
|
||||
-include $(OBJDIR_OBJECTS:.o=.d)
|
||||
|
||||
rdoc_vulkan.a: $(OBJDIR_OBJECTS)
|
||||
renderdoc_capture.json: renderdoc.json
|
||||
sed '{s%...renderdoc.dll%./librenderdoc.so%}' < renderdoc.json > renderdoc_capture.json
|
||||
|
||||
rdoc_vulkan.a: $(OBJDIR_OBJECTS) renderdoc_capture.json
|
||||
ar rcs rdoc_vulkan.a $(OBJDIR_OBJECTS)
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"file_format_version" : "0.9.0",
|
||||
"layer" : {
|
||||
"name": "RenderDoc",
|
||||
"type": "GLOBAL",
|
||||
"library_path": "./librenderdoc.so",
|
||||
"abi_versions": "1.0.0",
|
||||
"implementation_version": "1.0.0",
|
||||
"description": "Debugging capture layer for RenderDoc",
|
||||
"functions": {
|
||||
"vkGetInstanceProcAddr": "RenderDoc_GetInstanceProcAddr",
|
||||
"vkGetDeviceProcAddr": "RenderDoc_GetDeviceProcAddr"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -72,10 +72,10 @@
|
||||
<ClInclude Include="vk_state.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="windows\renderdoc.json" />
|
||||
<None Include="renderdoc.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="windows\renderdoc.json">
|
||||
<Content Include="renderdoc.json">
|
||||
<Link>renderdoc.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@@ -225,4 +225,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -142,8 +142,8 @@
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="windows\renderdoc.json">
|
||||
<None Include="renderdoc.json">
|
||||
<Filter>Layer</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user