| { |
| "module": "gamepad", |
| "testDir": "../../config.tests", |
| |
| "libraries": { |
| "sdl2": { |
| "label": "SDL2", |
| "test": "sdl", |
| "sources": [ |
| { "type": "pkgConfig", "args": "sdl2" }, |
| { |
| "libs": "-F/Library/Frameworks/ -framework SDL2", |
| "includedir": "/Library/Frameworks/SDL2.framework/Headers", |
| "condition": "config.darwin" |
| }, |
| { "libs": "-lSDL2 -lSDL2main", "condition": "config.win32" }, |
| { "libs": "-lSDL2", "condition": "config.unix && !config.darwin" } |
| ] |
| } |
| }, |
| |
| "features": { |
| "sdl2": { |
| "label": "SDL2", |
| "condition": "libs.sdl2", |
| "output": [ "privateFeature" ] |
| } |
| }, |
| |
| "report": [ |
| ], |
| |
| "summary": [ |
| { |
| "section": "Qt Gamepad", |
| "entries": [ |
| "sdl2" |
| ] |
| } |
| ] |
| } |