You do not mention which platform you are working on. For me using Debian Sid, GtkD is an installable package and so all I need is:
dependency('gtkd-3', version: '>= 3.9.0')
having installed the package libgtkd-3-dev.
This doesn't perhaps answer your question, but it hopefully starts a conversation that can end with an answer to your question.