Crafter.Graphics/project.json

104 lines
4.6 KiB
JSON
Raw Normal View History

2025-04-16 00:43:33 +02:00
{
"name": "crafter-graphics",
"configurations": [
{
"name": "base",
"standard": "c++26",
2025-06-13 23:59:36 +02:00
"source_files": ["src/source/Crafter.Graphics-Window","src/source/Crafter.Graphics-WindowWayland","src/source/Crafter.Graphics-WindowWaylandWayland", "src/source/Crafter.Graphics-UiElement", "src/source/Crafter.Graphics-VulkanDevice", "src/source/Crafter.Graphics-WindowWaylandVulkan", "lib/VulkanTools", "src/source/Crafter.Graphics-Camera"],
"c_files": ["lib/wayland-xdg-decoration-unstable-v1-client-protocol", "lib/xdg-shell-protocol", "lib/shm"],
"module_files": ["src/module/Crafter.Graphics-Window","src/module/Crafter.Graphics-WindowWayland","src/module/Crafter.Graphics-WindowWaylandWayland", "src/module/Crafter.Graphics", "src/module/Crafter.Graphics-UiElement", "src/module/Crafter.Graphics-Types", "src/module/Crafter.Graphics-VulkanDevice", "src/module/Crafter.Graphics-VulkanPipeline", "src/module/Crafter.Graphics-VulkanShader", "src/module/Crafter.Graphics-WindowWaylandVulkan", "src/module/Crafter.Graphics-Camera", "src/module/Crafter.Graphics-VulkanBuffer", "src/module/Crafter.Graphics-Mesh", "src/module/Crafter.Graphics-MeshShader", "src/module/Crafter.Graphics-HeightmapShader","src/module/Crafter.Graphics-VoxelShader", "src/module/Crafter.Graphics-VulkanTexture", "src/module/Crafter.Graphics-TextureShader", "src/module/Crafter.Graphics-DescriptorSet"],
2025-05-03 02:34:38 +02:00
"build_dir": "build",
"output_dir": "bin",
2025-04-16 00:43:33 +02:00
"type":"library",
2025-05-04 05:15:31 +02:00
"libs": ["wayland-client", "vulkan", "xkbcommon"],
2025-04-19 15:46:26 +02:00
"flags": ["-Wno-uninitialized"],
"shaders": [
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZ.glsl",
2025-04-19 15:46:26 +02:00
"type":13,
"entrypoint":"main"
},
2025-05-03 06:51:33 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZUV.glsl",
2025-05-03 06:51:33 +02:00
"type":13,
"entrypoint":"main"
},
2025-05-25 23:04:56 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderXYZRGBA.glsl",
2025-05-25 23:04:56 +02:00
"type":13,
"entrypoint":"main"
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderHeightmapRGBA.glsl",
2025-05-25 23:04:56 +02:00
"type":13,
"entrypoint":"main"
},
2025-06-10 22:47:47 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/MeshShaderMixedVoxelGrid.glsl",
2025-06-10 22:47:47 +02:00
"type":13,
"entrypoint":"main"
},
2025-04-19 15:46:26 +02:00
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderSolidWhite.glsl",
2025-04-19 15:46:26 +02:00
"type":4,
2025-05-03 06:51:33 +02:00
"entrypoint":"main"
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderTexture.glsl",
2025-05-03 06:51:33 +02:00
"type":4,
2025-04-19 15:46:26 +02:00
"entrypoint":"main"
2025-05-25 23:04:56 +02:00
},
{
2025-06-13 23:59:36 +02:00
"path":"src/shader/FragmentShaderVertexColor.glsl",
2025-05-25 23:04:56 +02:00
"type":4,
"entrypoint":"main"
2025-04-19 15:46:26 +02:00
}
]
2025-04-16 00:43:33 +02:00
},
{
2025-05-07 19:21:51 +02:00
"name": "lib-debug",
2025-04-16 00:43:33 +02:00
"extends": ["base"],
"optimization_level": "0",
2025-05-04 05:15:31 +02:00
"debug": true,
"dependencies": [
{
2025-05-06 12:39:11 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
2025-05-07 19:21:51 +02:00
"configuration":"lib-debug"
2025-05-04 05:15:31 +02:00
},
{
2025-05-06 12:39:11 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Asset.git",
2025-05-07 19:21:51 +02:00
"configuration":"lib-debug"
2025-05-04 05:15:31 +02:00
},
{
2025-05-06 12:39:11 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
2025-05-07 19:21:51 +02:00
"configuration":"lib-debug"
2025-05-04 05:15:31 +02:00
}
]
2025-04-16 00:43:33 +02:00
},
{
2025-05-07 19:21:51 +02:00
"name": "lib-release",
"extends": ["base"],
"optimization_level": "3",
2025-04-16 00:43:33 +02:00
"dependencies": [
{
2025-05-07 19:21:51 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
"configuration":"lib-release"
2025-04-16 00:43:33 +02:00
},
2025-04-27 22:16:56 +02:00
{
2025-05-07 19:21:51 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Asset.git",
"configuration":"lib-release"
2025-04-27 22:16:56 +02:00
},
2025-05-04 05:15:31 +02:00
{
2025-05-07 19:21:51 +02:00
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
"configuration":"lib-release"
2025-04-16 00:43:33 +02:00
}
]
},
{
2025-05-07 19:21:51 +02:00
"name": "develop",
"extends": ["lib-debug"],
2025-06-13 23:59:36 +02:00
"source_files": ["src/source/main"],
2025-05-07 19:21:51 +02:00
"type":"executable"
2025-04-16 00:43:33 +02:00
}
]
}