Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikuauahdark/dav1d-cmake
CMake script to compile dav1d
https://github.com/mikuauahdark/dav1d-cmake
Last synced: about 1 month ago
JSON representation
CMake script to compile dav1d
- Host: GitHub
- URL: https://github.com/mikuauahdark/dav1d-cmake
- Owner: MikuAuahDark
- License: other
- Created: 2020-06-26T14:25:45.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T03:36:04.000Z (11 months ago)
- Last Synced: 2024-10-15T06:06:13.005Z (3 months ago)
- Language: CMake
- Size: 23.4 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CMake script to compile dav1d
This is a wrapper for dav1d (AV1 video fromat decoder), which allows to build and link it within the CMake build system. The dav1d's own build system is Meson; this repository wraps over the official dav1d repository to offer the CMake build system integration as well.
## Usage
Typically you may wish to add this repository as a submodule to your CMake project:
```
mkdir ThirdParty
cd ThirdParty
git submodule add https://path/to/this/repo
```Then, in `CMakeLists.txt` your own CMake targets can link against the dav1d library (and use `dav1d.h` C include header), after adding the submodule directory:
```cmake
add_subdirectory(ThirdParty/dav1d-cmake)...
add_executable(your_own_project ...)
target_link_libraries(your_own_project dav1d::dav1d)
```## License
BSD 2-clause License.