metal-cpp
Metal-cpp is a low-overhead C++ interface for Metal that helps you add Metal functionality to graphics apps, games, and game engines that are written in C++.
Latest version: 26
Add to xmake.lua
add_requires("metal-cpp 26")Learn how to add and link packages with Xmake →
Information
- License
- Apache-2.0
- Kind
- library
- Recipe updated
- 2025-10-30T07:42:49.000Z
Platforms
- iphoneos: arm64, x86_64
- macosx: x86_64, arm64
Options
No configurable options.
Versions
- 12
- 13
- 13.3
- 14.2
- 15
- 15.2
- 26
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "metal-cpp 26"show info
xrepo info "metal-cpp"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("metal-cpp 26")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("metal-cpp")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "metal-cpp 26" shell