92 lines
3.7 KiB
JSON
92 lines
3.7 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.mesh",
|
|
"type":13,
|
|
"entrypoint":"main"
|
|
},
|
|
{
|
|
"path":"MeshShaderXYZUV.mesh",
|
|
"type":13,
|
|
"entrypoint":"main"
|
|
},
|
|
{
|
|
"path":"FragmentShaderSolidWhite.frag",
|
|
"type":4,
|
|
"entrypoint":"main"
|
|
},
|
|
{
|
|
"path":"FragmentShaderTexture.frag",
|
|
"type":4,
|
|
"entrypoint":"main"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"extends": ["base"],
|
|
"optimization_level": "0",
|
|
"debug": true,
|
|
"dependencies": [
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Event/project.json",
|
|
"configuration":"debug"
|
|
},
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Asset/project.json",
|
|
"configuration":"lib-debug"
|
|
},
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Component/project.json",
|
|
"configuration":"debug"
|
|
},
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Math/project.json",
|
|
"configuration":"debug-lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "test",
|
|
"extends": ["debug"],
|
|
"source_files": ["main"],
|
|
"type":"executable",
|
|
"dependencies": [
|
|
{
|
|
"path":"../Crafter.Event/project.json",
|
|
"configuration":"debug"
|
|
},
|
|
{
|
|
"path":"../Crafter.Asset/project.json",
|
|
"configuration":"lib-debug"
|
|
},
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Component/project.json",
|
|
"configuration":"debug"
|
|
},
|
|
{
|
|
"path":"/home/jorijn/repos/Crafter/Crafter.Math/project.json",
|
|
"configuration":"debug-lib"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "release",
|
|
"extends": ["base"],
|
|
"optimization_level": "3"
|
|
}
|
|
]
|
|
}
|