diff --git a/meson.build b/meson.build index 929a251..d1180d9 100644 --- a/meson.build +++ b/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', diff --git a/runtime/Sources/Core/meson.build b/runtime/Sources/Core/meson.build deleted file mode 100644 index d5d929f..0000000 --- a/runtime/Sources/Core/meson.build +++ /dev/null @@ -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') -] \ No newline at end of file diff --git a/runtime/Sources/Graphics/meson.build b/runtime/Sources/Graphics/meson.build deleted file mode 100644 index d9b21f3..0000000 --- a/runtime/Sources/Graphics/meson.build +++ /dev/null @@ -1,10 +0,0 @@ -sources += [ - files( - 'Font.cpp', - 'Mesh.cpp', - 'PutPixelManager.cpp', - 'Scene.cpp', - 'Sprite.cpp', - 'Text.cpp' - ) -] \ No newline at end of file diff --git a/runtime/Sources/Platform/meson.build b/runtime/Sources/Platform/meson.build deleted file mode 100644 index 7c5be15..0000000 --- a/runtime/Sources/Platform/meson.build +++ /dev/null @@ -1,6 +0,0 @@ -sources += [ - files( - 'Inputs.cpp', - 'Window.cpp' - ) -] \ No newline at end of file diff --git a/runtime/Sources/Renderer/Pipelines/meson.build b/runtime/Sources/Renderer/Pipelines/meson.build deleted file mode 100644 index 5bc6a97..0000000 --- a/runtime/Sources/Renderer/Pipelines/meson.build +++ /dev/null @@ -1,6 +0,0 @@ -sources += [ - files( - 'Graphics.cpp', - 'Shader.cpp' - ) -] \ No newline at end of file diff --git a/runtime/Sources/Renderer/RenderPasses/meson.build b/runtime/Sources/Renderer/RenderPasses/meson.build deleted file mode 100644 index 90970ef..0000000 --- a/runtime/Sources/Renderer/RenderPasses/meson.build +++ /dev/null @@ -1,7 +0,0 @@ -sources += [ - files( - '2DPass.cpp', - 'FinalPass.cpp', - 'Passes.cpp' - ) -] diff --git a/runtime/Sources/Renderer/Vulkan/meson.build b/runtime/Sources/Renderer/Vulkan/meson.build deleted file mode 100644 index 879de81..0000000 --- a/runtime/Sources/Renderer/Vulkan/meson.build +++ /dev/null @@ -1,5 +0,0 @@ -sources += [ - files( - 'VulkanLoader.cpp' - ) -] diff --git a/runtime/Sources/Renderer/meson.build b/runtime/Sources/Renderer/meson.build deleted file mode 100644 index cf11a0b..0000000 --- a/runtime/Sources/Renderer/meson.build +++ /dev/null @@ -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') \ No newline at end of file diff --git a/runtime/Sources/meson.build b/runtime/Sources/meson.build deleted file mode 100644 index 6676867..0000000 --- a/runtime/Sources/meson.build +++ /dev/null @@ -1,5 +0,0 @@ -sources = [] -subdir('Core') -subdir('Graphics') -subdir('Platform') -subdir('Renderer') \ No newline at end of file