У меня есть следующее 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
отсутствует, а компиляция test
не удалась.
Пожалуйста, помогите понять, как добавить зависимость между конфигурациями.