From 9460c9afb2e98f6aee8ec239d17771dbf56c05ab Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 28 Sep 2015 09:55:30 -0400 Subject: [PATCH] dub sucks --- dub.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dub.json b/dub.json index cfa1c85..c5b1b23 100644 --- a/dub.json +++ b/dub.json @@ -3,7 +3,7 @@ "targetType": "sourceLibrary", "sourcePaths": ["dummy"], "dependencies": {}, - "description": "A container of various subpackages that do lots of different things. Do not use this as a package itself, instead use the subpackages for what you need (or better yet, ditch dub and do things the simple, reliably way of dmd *.d). So make your dependency like \"arsd-official:simpledisplay\" rather than \"arsd-official\".", + "description": "A container of various subpackages that do lots of different things. Do not use this as a package itself, instead use the subpackages for what you need (or better yet, ditch dub and do things the simple, reliable way of dmd *.d). So make your dependency like \"arsd-official:simpledisplay\" rather than \"arsd-official\".", "license":"BSL-1.0", "subPackages": [ { @@ -12,6 +12,16 @@ "targetType": "sourceLibrary", "libs-posix": ["X11", "Xext", "GL", "GLU"], "libs-windows": ["gdi32"], + "configurations" [ + { + "name": "normal" + }, + { + "name": "with-opengl", + "versions": "with_opengl", + "libs-windows": ["opengl32", "glu32"] + } + ], "sourceFiles": ["simpledisplay.d", "color.d"] }