Git Product home page Git Product logo

conan-liblava's Introduction

Conan package recipe for liblava

liblava is a modern C++ and easy-to-use library for the Vulkan® API


Build and package

The following command will build liblava and publish the Conan package to the local system cache:

conan create . lavablock/stable

Config

It'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_clang

For more profile configuration options, refer to the Conan docs.


Usage

Add a dependency to liblava to your project's conanfile.txt:

[requires]
liblava/0.7.3@lavablock/stable

and install all requirements:

mkdir build
cd build
conan install ..

For more information, refer to Using packages.


Options

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.


New version

To add a new tagged lava version:

  1. Modify conanfile.py
    • update version field
    • if necessary, adapt to any changes to lava's build system
  2. Modify README.md
    • update version in Usage / requires section
  3. Push to latest branch
  4. Create new branch stable/%version% from latest


conan-liblava's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.