DUB配置之间的依赖关系(库和可执行文件)

时间:2018-12-30 04:31:12

标签: d dub

我有以下<div id="theHeader">Has this been Resolved?</div> <div id="theRadios"> <span><input type="radio" name="resolve" value="Yes" id="yes">Yes</span> <span><input type="radio" name="resolve" value="No" id="no">No</span> </div> <div> <textarea rows=4 cols=50 placeholder="Add Reply/Message"></textarea> </div> <div> <input type="submit" name="submit" value="Reply"> </div>

dub.json

问题是我运行{ "name": "rdf_bindings", "authors": [ "Victor Porton" ], "description": "D bindings for librdf", "copyright": "Copyright © 2018, Victor Porton", "license": "see parent directory", "configurations": [ { "name": "test", "targetType": "executable", "sourceFiles": ["source/rdf_test.d"], "libs": ["rdf_bindings"] }, { "name": "lib", "targetType": "library", "excludedSourceFiles": ["source/rdf_test.d"] } ] } 时未构建lib。因此缺少dub build,并且-lrdf_bindings的编译失败。

请帮助您了解如何在配置之间添加依赖项。

0 个答案:

没有答案