From 020dc221c8eb6c42a5913977fd7a8d2c72263999 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 18 Aug 2023 18:07:30 -0400 Subject: [PATCH] expose ico to dub --- dub.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dub.json b/dub.json index 9e1ab72..e37267c 100644 --- a/dub.json +++ b/dub.json @@ -398,6 +398,19 @@ }, "sourceFiles": ["bmp.d"] }, + { + "name": "ico", + "description": "Windows icon and crsor file format support", + "targetType": "library", + "dflags-dmd": ["-mv=arsd.ico=$PACKAGE_DIR/ico.d"], + "dflags-ldc": ["--mv=arsd.ico=$PACKAGE_DIR/ico.d"], + "dflags-gdc": ["-fmodule-file=arsd.ico=$PACKAGE_DIR/ico.d"], + "dependencies": { + "arsd-official:color_base":"*", + "arsd-official:core":"*" + }, + "sourceFiles": ["ico.d"] + }, { "name": "htmltotext", "description": "HTML to plain text conversion",