9bd41ff1cb
We want to debug what we ship, and anso sometimes deploy with debug symbols to get immediately useful backtraces. Since optimized debug builds double the compile time for both GDC and LDC, we add a new target to just perform a fast build without optimizations.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "appstream-generator",
|
|
"description": "An AppStream metadata generator",
|
|
"copyright": "Copyright © 2016, Matthias Klumpp",
|
|
"authors": ["Matthias Klumpp"],
|
|
|
|
"dependencies": {
|
|
"mustache-d": "~>0.1.1"
|
|
},
|
|
|
|
"buildTypes": {
|
|
"debug": {
|
|
"buildOptions": ["debugMode", "debugInfo", "optimize", "inline"]
|
|
},
|
|
"debug-nooptimize": {
|
|
"buildOptions": ["debugMode", "debugInfo"]
|
|
}
|
|
},
|
|
|
|
"targetPath": "build",
|
|
"targetType": "executable",
|
|
"buildRequirements": ["disallowDeprecations"],
|
|
|
|
"dflags-gdc": ["-Wl,--push-state,-no-as-needed", "-lcurl", "-Wl,--pop-state"],
|
|
"systemDependencies": "LMDB,
|
|
AppStream,
|
|
GLib2,
|
|
GIO,
|
|
GObject,
|
|
libarchive >= 3.2,
|
|
GDLib,
|
|
LibRSVG2,
|
|
FreeType",
|
|
"libs": ["lmdb",
|
|
"archive",
|
|
"glib-2.0",
|
|
"gobject-2.0",
|
|
"gio-2.0",
|
|
"appstream",
|
|
"cairo",
|
|
"gdk-pixbuf-2.0",
|
|
"librsvg-2.0",
|
|
"freetype"]
|
|
}
|