Crafter.Graphics/project.json

92 lines
3.8 KiB
JSON

{
"name": "crafter-graphics",
"configurations": [
{
"name": "base",
"standard": "c++26",
"source_files": ["Crafter.Graphics-Window","Crafter.Graphics-WindowWayland","Crafter.Graphics-WindowWaylandWayland", "Crafter.Graphics-UiElement", "Crafter.Graphics-VulkanDevice", "Crafter.Graphics-WindowWaylandVulkan", "VulkanBuffer", "VulkanTools", "Crafter.Graphics-Camera"],
"c_files": ["wayland-xdg-decoration-unstable-v1-client-protocol", "xdg-shell-protocol", "shm"],
"module_files": ["Crafter.Graphics-Window","Crafter.Graphics-WindowWayland","Crafter.Graphics-WindowWaylandWayland", "Crafter.Graphics", "Crafter.Graphics-UiElement", "Crafter.Graphics-Types", "Crafter.Graphics-VulkanDevice", "Crafter.Graphics-VulkanPipeline", "Crafter.Graphics-VulkanShader", "Crafter.Graphics-WindowWaylandVulkan", "Crafter.Graphics-Camera", "Crafter.Graphics-VulkanBuffer", "Crafter.Graphics-Mesh", "Crafter.Graphics-MeshShader", "Crafter.Graphics-VulkanTexture", "Crafter.Graphics-TextureShader"],
"build_dir": "build",
"output_dir": "bin",
"type":"library",
"libs": ["wayland-client", "vulkan", "xkbcommon"],
"flags": ["-Wno-uninitialized"],
"shaders": [
{
"path":"MeshShaderXYZ.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"MeshShaderXYZUV.glsl",
"type":13,
"entrypoint":"main"
},
{
"path":"FragmentShaderSolidWhite.glsl",
"type":4,
"entrypoint":"main"
},
{
"path":"FragmentShaderTexture.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.Component.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.Component.git",
"configuration":"lib-release"
},
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Math.git",
"configuration":"lib-release"
}
]
},
{
"name": "develop",
"extends": ["lib-debug"],
"source_files": ["main"],
"type":"executable"
}
]
}