Xmake provides a powerful package management system that allows you to easily install and use third-party libraries.
For more detailed documentation, please refer to Add Packages.
We can also specify the version of the package we want to use. By default, xmake uses the latest available version of a package. You can specify a semantic version constraint to require a specific version.
We can also configure the package to use shared libraries. Some packages support building as shared libraries. You can enable this by passing {configs = {shared = true}} to add_requires.