From d4359f639424283f4e301d330ec2d5776a156141 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Fri, 1 Aug 2014 20:10:03 +0200 Subject: [PATCH] Ported build types from CDC to dub. --- examples/yaml_bench/dub.json | 6 ++++++ package.json | 30 ++++++++++++++++++------------ 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/examples/yaml_bench/dub.json b/examples/yaml_bench/dub.json index b2e9836..55221f8 100644 --- a/examples/yaml_bench/dub.json +++ b/examples/yaml_bench/dub.json @@ -7,4 +7,10 @@ { "dyaml": { "version" : "~>0.5.0", "path" : "../../"}, }, + "buildTypes": + { + "debug": { "buildOptions": ["debugMode", "debugInfoC"] }, + "release": { "buildOptions": ["releaseMode", "optimize", "inline", "noBoundsCheck"] }, + "profile": { "buildOptions": ["releaseMode", "optimize", "noBoundsCheck", "debugInfoC"] } + } } diff --git a/package.json b/package.json index ccd258d..9e3dbf9 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,20 @@ { -"name": "dyaml", -"description": "YAML parser and emitter", -"authors": [ - "Ferdinand Majerech" -], -"libs": [], -"targetType": "staticLibrary", -"importPaths": ["source"], -"license": "Boost 1.0", -"dependencies": {}, -"homepage": "https://github.com/kiith-sa/D-YAML", -"copyright": "Copyright © 2011-2014, Ferdinand Majerech" + "name": "dyaml", + "description": "YAML parser and emitter", + "authors": [ "Ferdinand Majerech" ], + "libs": [], + "targetType": "staticLibrary", + "importPaths": ["source"], + "license": "Boost 1.0", + "dependencies": {}, + "homepage": "https://github.com/kiith-sa/D-YAML", + "copyright": "Copyright © 2011-2014, Ferdinand Majerech", + + "buildTypes": + { + "debug": { "buildOptions": ["debugMode", "debugInfoC"] }, + "release": { "buildOptions": ["releaseMode", "optimize", "inline", "noBoundsCheck"] }, + "profile": { "buildOptions": ["releaseMode", "optimize", "noBoundsCheck", "debugInfoC"] }, + }, + }