Crafter.Graphics/project.json
2025-06-13 23:59:36 +02:00

104 lines
4.6 KiB
JSON

{
"name": "crafter-graphics",
"configurations": [
{
"name": "base",
"standard": "c++26",
"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"],
"build_dir": "build",
"output_dir": "bin",
"type":"library",
"libs": ["wayland-client", "vulkan", "xkbcommon"],
"flags": ["-Wno-uninitialized"],
"shaders": [
{
"path":"src/shader/MeshShaderXYZ.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"src/shader/MeshShaderXYZUV.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"src/shader/MeshShaderXYZRGBA.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"src/shader/MeshShaderHeightmapRGBA.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"src/shader/MeshShaderMixedVoxelGrid.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"src/shader/FragmentShaderSolidWhite.glsl",
"type":4,
"entrypoint":"main"
},
{
"path":"src/shader/FragmentShaderTexture.glsl",
"type":4,
"entrypoint":"main"
},
{
"path":"src/shader/FragmentShaderVertexColor.glsl",
"type":4,
"entrypoint":"main"
}
]
},
{
"name": "lib-debug",
"extends": ["base"],
"optimization_level": "0",
"debug": true,
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
"configuration":"lib-debug"
},
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Asset.git",
"configuration":"lib-debug"
},
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
"configuration":"lib-debug"
}
]
},
{
"name": "lib-release",
"extends": ["base"],
"optimization_level": "3",
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
"configuration":"lib-release"
},
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Asset.git",
"configuration":"lib-release"
},
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
"configuration":"lib-release"
}
]
},
{
"name": "develop",
"extends": ["lib-debug"],
"source_files": ["src/source/main"],
"type":"executable"
}
]
}