{
    "name": "dlangui",
    "description": "Cross platform GUI for D. Layouts, styles, themes, unicode, i18n, OpenGL, widget set.",
    "homepage": "https://github.com/buggins/dlangui",
    "license": "Boost",
    "authors": ["Vadim Lopatin"],

    "targetName": "dlangui",
    "targetPath": "lib",
    "targetType": "staticLibrary",

    "sourcePaths": [
        "3rdparty", "src"
    ],

    "importPaths": [
        "3rdparty", "src"
    ],
 
    "stringImportPaths": [
        "views",
        "views/res",
        "views/res/mdpi",
        "views/res/hdpi",
        "views/res/i18n"
    ],

    "-ddoxFilterArgs": ["--unittest-examples", "--min-protection=Protected", "--ex", "win32.", "--ex", "src.dlangui"],

    "sourceFiles-windows": ["$PACKAGE_DIR/src/win_app.def"],

    "subPackages": [
        "./examples/helloworld/",
        "./examples/example1/",
        "./examples/dmledit/",
        "./examples/d3d/",
        "./examples/tetris/"
    ],

    "configurations": [
        {
            "name": "default",
            "versions": ["USE_OPENGL", "EmbedStandardResources", "USE_FREETYPE"],
            "versions-posix": ["USE_SDL"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "dlib": "~>0.5.2",
                "derelict-gl3": "~>1.0.16",
                "derelict-ft": "~>1.0.2",
                "gl3n": "~>1.2.0"
            },
            "dependencies-posix": {
                "derelict-sdl2": "~>1.9.1"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll"
            ]
        },
        {
            "name": "sdl",
            "versions": ["USE_SDL", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "dlib": "~>0.5.2",
                "derelict-gl3": "~>1.0.16",
                "derelict-ft": "~>1.0.2",
                "derelict-sdl2": "~>1.9.7",
                "gl3n": "~>1.2.0"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll", 
                "libs/windows/x86_64/SDL2.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll", 
                "libs/windows/x86/SDL2.dll"
            ]
        },
        {
            "name": "sfml",
            "versions": ["USE_DSFML", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"],
            "versions-windows": ["Unicode"],
            "dependencies": {
                "dlib": "~>0.5.2",
                "derelict-gl3": "~>1.0.16",
                "derelict-ft": "~>1.0.2",
                "gl3n": "~>1.2.0",
                "dsfml": "~master"
            },
            "copyFiles-windows-x86_64": [
                "libs/windows/x86_64/libfreetype-6.dll"
            ],
            "copyFiles-windows-x86": [
                "libs/windows/x86/libfreetype-6.dll"
            ]
        }
    ]
}
