https://github.com/danvratil/cmake-package-rs
Find CMake packages from your Cargo build script
https://github.com/danvratil/cmake-package-rs
build-script cargo cmake cmake-packages rust
Last synced: 11 months ago
JSON representation
Find CMake packages from your Cargo build script
- Host: GitHub
- URL: https://github.com/danvratil/cmake-package-rs
- Owner: danvratil
- License: mit
- Created: 2024-10-16T21:55:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-05T11:44:56.000Z (over 1 year ago)
- Last Synced: 2024-11-05T12:49:37.649Z (over 1 year ago)
- Topics: build-script, cargo, cmake, cmake-packages, rust
- Language: Rust
- Homepage: https://crates.io/crates/cmake-package
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cmake-package
A Rust crate for [Cargo build scripts][cargo_build_script] to find [CMake packages][cmake_package]
installed on the system and link against them. This is especially useful when your Rust project depends
on a system library that only provides a CMake package. This is essentially similar to the
[`pkg-config`][crate_pkgconfig] crate, but for CMake.
Refer to the [documentation](https://docs.rs/cmake-package) for more information on usage.
## License
This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more information.
## Contribution
All contributions are welcome. Please open an issue or a pull request if you have any problem, suggestions or
improvement!
[cmake_package]: https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html
[cargo_build_script]: https://doc.rust-lang.org/cargo/reference/build-scripts.html
[crate_pkgconfig]: https://docs.rs/pkg-config/0.3.31/pkg_config/