Skip to content

About

A Meson subproject that will set up a dependency for Autodesk Maya

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

3 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Meson subproject that will set up a dependency for Autodesk Maya.

Using this in another project

Add it to your project as a Meson subproject via a .wrap file. Copy maya.wrap.example to subprojects/maya.wrap in your project:

[wrap-git]
url = https://github.com/blurstudio/mayaMesonSubproject.git
revision = v2
depth = 1

[provide]
maya = maya_plugin_dep
maya-plugin = maya_plugin_dep
maya-core = maya_core_dep
maya-qt = maya_qt_dep
maya-numpy = maya_numpy_dep
maya-alembic = maya_alembic_dep
maya-imath = maya_imath_dep
maya-ufe = maya_ufe_dep
maya-opengl = maya_opengl_dep

Then request the dependency like any other in your meson.build. Because of the [provide] section, Meson will automatically fall back to this subproject when the dependency isn't found on the system:

maya_dep = dependency('maya')
maya_qt_dep = dependency('maya-qt')

Other options (maya_version, maya_devkit_base, maya_custom_install_path, maya_qt_extra_includes) can be set from your top-level project since they're declared with yield: true.

About

A Meson subproject that will set up a dependency for Autodesk Maya

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages