fix minigui dub config

This commit is contained in:
andre2007 2019-08-18 14:18:45 +02:00
parent 1004011f57
commit 9c80f86f28
1 changed files with 12 additions and 17 deletions

View File

@ -14,13 +14,15 @@
{ {
"name": "simpledisplay", "name": "simpledisplay",
"description": "Window creation and basic drawing", "description": "Window creation and basic drawing",
"targetType": "sourceLibrary", "targetType": "library",
"libs-posix": ["X11", "Xext", "GL", "GLU"], "importPaths": ["."],
"libs-windows": ["gdi32", "opengl32", "glu32"], "dflags": ["-mv=arsd.simpledisplay=simpledisplay.d"],
"dependencies": {"arsd-official:color_base":"*"}, "dependencies": {"arsd-official:color_base":"*"},
"configurations": [ "configurations": [
{ {
"name": "normal" "name": "normal",
"libs-posix": ["X11", "Xext", "GL", "GLU"],
"libs-windows": ["gdi32", "opengl32", "glu32"],
}, },
{ {
"name": "without-opengl", "name": "without-opengl",
@ -34,19 +36,10 @@
{ {
"name": "minigui", "name": "minigui",
"description": "Small GUI widget library for Windows and Linux", "description": "Small GUI widget library for Windows and Linux",
"targetType": "sourceLibrary", "targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.minigui=minigui.d"],
"dependencies": {"arsd-official:simpledisplay":"*"}, "dependencies": {"arsd-official:simpledisplay":"*"},
"configurations": [
{
"name": "normal"
},
{
"name": "without-opengl",
"versions": ["without_opengl"],
"libs-windows": ["gdi32"],
"libs-posix": ["X11", "Xext"]
}
],
"sourceFiles": ["minigui.d"] "sourceFiles": ["minigui.d"]
}, },
{ {
@ -202,7 +195,9 @@
{ {
"name": "color_base", "name": "color_base",
"description": "Base color, point, image interface definitions", "description": "Base color, point, image interface definitions",
"targetType": "sourceLibrary", "targetType": "library",
"importPaths": ["."],
"dflags": ["-mv=arsd.color=color.d"],
"sourceFiles": ["color.d"] "sourceFiles": ["color.d"]
}, },
{ {