mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-10 14:13:34 +00:00
refactor(meson): delete all meson.build files in the runtime subfolders and regroup all sources in a meson.build file
This commit is contained in:
38
meson.build
38
meson.build
@@ -36,7 +36,43 @@ includes_directories = [
|
||||
include_directories('third_party'),
|
||||
]
|
||||
|
||||
subdir('runtime/Sources')
|
||||
sources = [
|
||||
files(
|
||||
'runtime/Sources/Core/Application.cpp',
|
||||
'runtime/Sources/Core/Bridge.cpp',
|
||||
'runtime/Sources/Core/EventBus.cpp',
|
||||
'runtime/Sources/Core/EventListener.cpp',
|
||||
'runtime/Sources/Core/Fps.cpp',
|
||||
'runtime/Sources/Core/Graphics.cpp',
|
||||
'runtime/Sources/Core/Logs.cpp',
|
||||
'runtime/Sources/Core/Memory.cpp',
|
||||
'runtime/Sources/Core/Profiler.cpp',
|
||||
'runtime/Sources/Core/SDLManager.cpp',
|
||||
'runtime/Sources/Core/UUID.cpp',
|
||||
'runtime/Sources/Graphics/Font.cpp',
|
||||
'runtime/Sources/Graphics/Mesh.cpp',
|
||||
'runtime/Sources/Graphics/PutPixelManager.cpp',
|
||||
'runtime/Sources/Graphics/Scene.cpp',
|
||||
'runtime/Sources/Graphics/Sprite.cpp',
|
||||
'runtime/Sources/Graphics/Text.cpp',
|
||||
'runtime/Sources/Platform/Inputs.cpp',
|
||||
'runtime/Sources/Platform/Window.cpp',
|
||||
'runtime/Sources/Renderer/Pipelines/Graphics.cpp',
|
||||
'runtime/Sources/Renderer/Pipelines/Shader.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/2DPass.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/FinalPass.cpp',
|
||||
'runtime/Sources/Renderer/RenderPasses/Passes.cpp',
|
||||
'runtime/Sources/Renderer/Vulkan/VulkanLoader.cpp',
|
||||
'runtime/Sources/Renderer/Buffer.cpp',
|
||||
'runtime/Sources/Renderer/Descriptor.cpp',
|
||||
'runtime/Sources/Renderer/Image.cpp',
|
||||
'runtime/Sources/Renderer/Memory.cpp',
|
||||
'runtime/Sources/Renderer/RenderCore.cpp',
|
||||
'runtime/Sources/Renderer/Renderer.cpp',
|
||||
'runtime/Sources/Renderer/SceneRenderer.cpp',
|
||||
'runtime/Sources/Renderer/Swapchain.cpp'
|
||||
)
|
||||
]
|
||||
|
||||
mlx_headers = [
|
||||
'includes/mlx.h',
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'Application.cpp',
|
||||
'Bridge.cpp',
|
||||
'EventBus.cpp',
|
||||
'EventListener.cpp',
|
||||
'Fps.cpp',
|
||||
'Graphics.cpp',
|
||||
'Logs.cpp',
|
||||
'Memory.cpp',
|
||||
'Profiler.cpp',
|
||||
'SDLManager.cpp',
|
||||
'UUID.cpp')
|
||||
]
|
||||
@@ -1,10 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'Font.cpp',
|
||||
'Mesh.cpp',
|
||||
'PutPixelManager.cpp',
|
||||
'Scene.cpp',
|
||||
'Sprite.cpp',
|
||||
'Text.cpp'
|
||||
)
|
||||
]
|
||||
@@ -1,6 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'Inputs.cpp',
|
||||
'Window.cpp'
|
||||
)
|
||||
]
|
||||
@@ -1,6 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'Graphics.cpp',
|
||||
'Shader.cpp'
|
||||
)
|
||||
]
|
||||
@@ -1,7 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'2DPass.cpp',
|
||||
'FinalPass.cpp',
|
||||
'Passes.cpp'
|
||||
)
|
||||
]
|
||||
@@ -1,5 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'VulkanLoader.cpp'
|
||||
)
|
||||
]
|
||||
@@ -1,16 +0,0 @@
|
||||
sources += [
|
||||
files(
|
||||
'Buffer.cpp',
|
||||
'Descriptor.cpp',
|
||||
'Image.cpp',
|
||||
'Memory.cpp',
|
||||
'RenderCore.cpp',
|
||||
'Renderer.cpp',
|
||||
'SceneRenderer.cpp',
|
||||
'Swapchain.cpp'
|
||||
)
|
||||
]
|
||||
|
||||
subdir('Pipelines')
|
||||
subdir('RenderPasses')
|
||||
subdir('Vulkan')
|
||||
@@ -1,5 +0,0 @@
|
||||
sources = []
|
||||
subdir('Core')
|
||||
subdir('Graphics')
|
||||
subdir('Platform')
|
||||
subdir('Renderer')
|
||||
Reference in New Issue
Block a user