Here is my meson.build
:
project('Adventum', 'cpp', version : '0.1.0', license : '', default_options : ['cpp_std=c++2a'])
glfw = subproject('glfw').get_variable('glfw_dep')
vulkan = dependency('vulkan')
sources = ['src/main.cpp', 'src/render/window.cpp']
exe = executable('Adventum', sources, include_directories : 'src', dependencies : [glfw, vulkan])
and here is my 'subproject" (wrap):
[wrap-git]
url = https://github.com/henry4k/glfw-meson.git
revision = head
I'm using the GLFW library but I have to pull from a third-party fork that supports meson. This all works fine, and meson successfully downloads and builds the GLFW fork, but even though meson should clearly know that my project depends on the GLFW library it doesn't actually place the GLFW binaries alongside my projects executable, so it builds the dependency but my program cannot run because it doesn't find the necessary binaries.
Is there something I must specify in my meson.build
for it to automatically place the binaries next to my executeable?