Crafter.Graphics/project.json

53 lines
1.9 KiB
JSON

{
"name": "crafter-graphics",
"configurations": [
{
"name": "base",
"implementations": ["implementations/Crafter.Graphics-Font", "implementations/Crafter.Graphics-Shm", "implementations/Crafter.Graphics-UiElement", "implementations/Crafter.Graphics-Window"],
"interfaces": ["interfaces/Crafter.Graphics-Window", "interfaces/Crafter.Graphics", "interfaces/Crafter.Graphics-Types", "interfaces/Crafter.Graphics-Font", "interfaces/Crafter.Graphics-Shm", "interfaces/Crafter.Graphics-UiElement", "interfaces/Crafter.Graphics-Animation"],
"type": "library"
},
{
"name": "wayland",
"implementations": ["implementations/Crafter.Graphics-Window_wayland"],
"interfaces": [],
"libs": ["wayland-client", "xkbcommon"],
"c_files": ["lib/xdg-shell-protocol", "lib/wayland-xdg-decoration-unstable-v1-client-protocol"],
"extends": ["base"],
"defines": [
{
"name": "CRAFTER_GRAPHICS_WAYLAND"
}
]
},
{
"name": "deps",
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
"configuration":"lib"
}
]
},
{
"name": "deps-debug",
"debug": true,
"dependencies": [
{
"path":"https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git",
"configuration":"lib-debug"
}
]
},
{
"name": "lib-wayland",
"extends": ["wayland", "deps"],
"type": "library"
},
{
"name": "lib-wayland-debug",
"type": "library",
"extends": ["wayland", "deps-debug"]
}
]
}