Skip to content

Instantly share code, notes, and snippets.

@germandiagogomez
Created July 18, 2022 10:07
Show Gist options
  • Save germandiagogomez/fbc77951e400df039f0e73290710fc03 to your computer and use it in GitHub Desktop.
Save germandiagogomez/fbc77951e400df039f0e73290710fc03 to your computer and use it in GitHub Desktop.
Adding a library with a previously-embedded and harcoded dependencies
sources = ['lzma.cpp']
lzmaupp_plugin_dependencies = [
core_dep,
dependency('zlib'),
dependency('liblzma'),
dependency('liblzmasdk')
]
lzmaupp_plugin_lib = library('lzmaupp', sources: sources,
dependencies: lzmaupp_plugin_dependencies)
lzmaupp_plugin_dep = declare_dependency(link_with: lzmaupp_plugin_lib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment