Skip to content

Commit

Permalink
Simplified folder structure of source groups for backends in CMakeLis…
Browse files Browse the repository at this point in the history
…ts.txt script.
  • Loading branch information
LukasBanana committed Aug 21, 2023
1 parent 2f923d5 commit 654bd3d
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -587,63 +587,63 @@ if(LLGL_ENABLE_DEBUG_LAYER)
source_group("Sources\\Renderer\\DebugLayer\\Texture" FILES ${FilesRendererDbgTexture})
endif()

source_group("Sources\\Null" FILES ${FilesRendererNull})
source_group("Sources\\Null\\Buffer" FILES ${FilesRendererNullBuffer})
source_group("Sources\\Null\\Command" FILES ${FilesRendererNullCommand})
source_group("Sources\\Null\\RenderState" FILES ${FilesRendererNullRenderState})
source_group("Sources\\Null\\Shader" FILES ${FilesRendererNullShader})
source_group("Sources\\Null\\Texture" FILES ${FilesRendererNullTexture})

source_group("Sources\\OpenGL" FILES ${FilesRendererGL})
source_group("Sources\\OpenGL\\Buffer" FILES ${FilesRendererGLBuffer})
source_group("Sources\\OpenGL\\Command" FILES ${FilesRendererGLCommand})
source_group("Sources\\OpenGL\\Ext" FILES ${FilesRendererGLExt})
source_group("Sources\\OpenGL\\Platform" FILES ${FilesRendererGLPlatformBase} ${FilesRendererGLPlatform})
source_group("Sources\\OpenGL\\RenderState" FILES ${FilesRendererGLRenderState})
source_group("Sources\\OpenGL\\Shader" FILES ${FilesRendererGLShader})
source_group("Sources\\OpenGL\\Texture" FILES ${FilesRendererGLTexture})
source_group("Sources\\OpenGL\\GLCoreProfile" FILES ${FilesRendererGLCoreProfile})
source_group("Sources\\OpenGL\\GLESProfile" FILES ${FilesRendererGLESProfile})

source_group("Sources\\SPIRV" FILES ${FilesRendererSPIRV})

source_group("Sources\\Vulkan" FILES ${FilesRendererVK})
source_group("Sources\\Vulkan\\Buffer" FILES ${FilesRendererVKBuffer})
source_group("Sources\\Vulkan\\Ext" FILES ${FilesRendererVKExt})
source_group("Sources\\Vulkan\\Memory" FILES ${FilesRendererVKMemory})
source_group("Sources\\Vulkan\\RenderState" FILES ${FilesRendererVKRenderState})
source_group("Sources\\Vulkan\\Shader" FILES ${FilesRendererVKShader})
source_group("Sources\\Vulkan\\Texture" FILES ${FilesRendererVKTexture})

source_group("Sources\\Metal" FILES ${FilesRendererMTL})
source_group("Sources\\Metal\\Buffer" FILES ${FilesRendererMTLBuffer})
source_group("Sources\\Metal\\Command" FILES ${FilesRendererMTLCommand})
source_group("Sources\\Metal\\RenderState" FILES ${FilesRendererMTLRenderState})
source_group("Sources\\Metal\\Shader" FILES ${FilesRendererMTLShader})
source_group("Sources\\Metal\\Shader\\Bulitin" FILES ${FilesRendererMTLShaderBuiltin})
source_group("Sources\\Metal\\Texture" FILES ${FilesRendererMTLTexture})

source_group("Sources\\DXCommon" FILES ${FilesRendererDXCommon})

source_group("Sources\\Direct3D11" FILES ${FilesRendererD3D11})
source_group("Sources\\Direct3D11\\Buffer" FILES ${FilesRendererD3D11Buffer})
source_group("Sources\\Direct3D11\\RenderState" FILES ${FilesRendererD3D11RenderState})
source_group("Sources\\Direct3D11\\Shader" FILES ${FilesRendererD3D11Shader})
source_group("Sources\\Direct3D11\\Shader\\Builtin" FILES ${FilesRendererD3D11ShaderBuiltin})
source_group("Sources\\Direct3D11\\Texture" FILES ${FilesRendererD3D11Texture})

source_group("Sources\\Direct3D12" FILES ${FilesRendererD3D12})
source_group("Sources\\Direct3D12\\Buffer" FILES ${FilesRendererD3D12Buffer})
source_group("Sources\\Direct3D12\\Command" FILES ${FilesRendererD3D12Command})
source_group("Sources\\Direct3D12\\RenderState" FILES ${FilesRendererD3D12RenderState})
source_group("Sources\\Direct3D12\\Shader" FILES ${FilesRendererD3D12Shader})
source_group("Sources\\Direct3D12\\Shader\\Builtin" FILES ${FilesRendererD3D12ShaderBuiltin})
source_group("Sources\\Direct3D12\\Texture" FILES ${FilesRendererD3D12Texture})
source_group("Null" FILES ${FilesRendererNull})
source_group("Null\\Buffer" FILES ${FilesRendererNullBuffer})
source_group("Null\\Command" FILES ${FilesRendererNullCommand})
source_group("Null\\RenderState" FILES ${FilesRendererNullRenderState})
source_group("Null\\Shader" FILES ${FilesRendererNullShader})
source_group("Null\\Texture" FILES ${FilesRendererNullTexture})

source_group("OpenGL" FILES ${FilesRendererGL})
source_group("OpenGL\\Buffer" FILES ${FilesRendererGLBuffer})
source_group("OpenGL\\Command" FILES ${FilesRendererGLCommand})
source_group("OpenGL\\Ext" FILES ${FilesRendererGLExt})
source_group("OpenGL\\Platform" FILES ${FilesRendererGLPlatformBase} ${FilesRendererGLPlatform})
source_group("OpenGL\\RenderState" FILES ${FilesRendererGLRenderState})
source_group("OpenGL\\Shader" FILES ${FilesRendererGLShader})
source_group("OpenGL\\Texture" FILES ${FilesRendererGLTexture})
source_group("OpenGL\\GLCoreProfile" FILES ${FilesRendererGLCoreProfile})
source_group("OpenGL\\GLESProfile" FILES ${FilesRendererGLESProfile})

source_group("SPIRV" FILES ${FilesRendererSPIRV})

source_group("Vulkan" FILES ${FilesRendererVK})
source_group("Vulkan\\Buffer" FILES ${FilesRendererVKBuffer})
source_group("Vulkan\\Ext" FILES ${FilesRendererVKExt})
source_group("Vulkan\\Memory" FILES ${FilesRendererVKMemory})
source_group("Vulkan\\RenderState" FILES ${FilesRendererVKRenderState})
source_group("Vulkan\\Shader" FILES ${FilesRendererVKShader})
source_group("Vulkan\\Texture" FILES ${FilesRendererVKTexture})

source_group("Metal" FILES ${FilesRendererMTL})
source_group("Metal\\Buffer" FILES ${FilesRendererMTLBuffer})
source_group("Metal\\Command" FILES ${FilesRendererMTLCommand})
source_group("Metal\\RenderState" FILES ${FilesRendererMTLRenderState})
source_group("Metal\\Shader" FILES ${FilesRendererMTLShader})
source_group("Metal\\Shader\\Bulitin" FILES ${FilesRendererMTLShaderBuiltin})
source_group("Metal\\Texture" FILES ${FilesRendererMTLTexture})

source_group("DXCommon" FILES ${FilesRendererDXCommon})

source_group("Direct3D11" FILES ${FilesRendererD3D11})
source_group("Direct3D11\\Buffer" FILES ${FilesRendererD3D11Buffer})
source_group("Direct3D11\\RenderState" FILES ${FilesRendererD3D11RenderState})
source_group("Direct3D11\\Shader" FILES ${FilesRendererD3D11Shader})
source_group("Direct3D11\\Shader\\Builtin" FILES ${FilesRendererD3D11ShaderBuiltin})
source_group("Direct3D11\\Texture" FILES ${FilesRendererD3D11Texture})

source_group("Direct3D12" FILES ${FilesRendererD3D12})
source_group("Direct3D12\\Buffer" FILES ${FilesRendererD3D12Buffer})
source_group("Direct3D12\\Command" FILES ${FilesRendererD3D12Command})
source_group("Direct3D12\\RenderState" FILES ${FilesRendererD3D12RenderState})
source_group("Direct3D12\\Shader" FILES ${FilesRendererD3D12Shader})
source_group("Direct3D12\\Shader\\Builtin" FILES ${FilesRendererD3D12ShaderBuiltin})
source_group("Direct3D12\\Texture" FILES ${FilesRendererD3D12Texture})

source_group("Sources" FILES ${FilesExampleBase})

if(LLGL_ANDROID_PLATFORM)
source_group("Sources\\android_native_app_glue" FILES ${FilesAndroidNativeAppGlue})
source_group("android_native_app_glue" FILES ${FilesAndroidNativeAppGlue})
endif()


Expand Down

0 comments on commit 654bd3d

Please sign in to comment.