Conan package recipe for liblava
liblava is a modern C++ and easy-to-use library for the Vulkan® API
The following command will build liblava and publish the Conan package to the local system cache:
conan create . lavablock/stableIt's possible that you need to configure Conan to use your preferred compiler and build settings. For example, to compile a release build with Clang you could use the following config:
include(default)
[settings]
compiler=clang
compiler.version=13
compiler.cppstd=20
build_type=Release
[env]
CC=clang-13
CXX=clang++Save it as config_clang and create the package:
conan create . lavablock/stable -pr=config_clangFor more profile configuration options, refer to the Conan docs.
Add a dependency to liblava to your project's conanfile.txt:
[requires]
liblava/0.7.3@lavablock/stableand install all requirements:
mkdir build
cd build
conan install ..For more information, refer to Using packages.
The following options can be configured:
| Option | Description | Default |
|---|---|---|
| fPIC | Generate position-independent code | True |
| test | Build and install lava test binaries | False |
| demo | Build and install lava demo binaries | False |
For information on how to set them, refer to Options.
To add a new tagged lava version:
- Modify conanfile.py
- update version field
- if necessary, adapt to any changes to lava's build system
- Modify README.md
- update version in Usage / requires section
- Push to latest branch
- Create new branch stable/%version% from latest
