Skip to content

biovault/conan-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Conan Recipes

What is it?

The recipes in this repo contain common code that can be reused in conanfiles via the python_requires mechanism in either conan v1 or conan v2 mechanism. It is intended for use in either the conan based CI or local conan based build.

How to setup

It's recommended that this repo be set as a submodule in the repo. e.g. in ./external/conan-recipes. Other solutions are possible and left to the reader.

What recipe packages are available?

The package recipes supported are:

1. Bundled package - for multi-build type packages

  1. Purpose:

To provide a mechanism for performing several individual build type conan create and then packaging all the build types into a single package .

  1. For example:
    conan export ./external/conan-recipes/bundle_package bundleutils/0.1@lkeb/stable
    conan create . <pkg_name>/<n.n.n>@<user/channel> -pr:h profile -pr:b profile
    conan create . <pkg_name>/<n.n.n>@<user/channel> -pr:h profile -pr:b profile -s build_type=Debug -o merge_package=True

The default merge settings are :

    _merge_from = ["Debug", "RelWithDebInfo"]
    _merge_to = "Release"
  1. In the consumer conanfile.py

however they can be overridden in the consumer conanfile.

Add a call to self._merge_packages() at the end of the conan package method to trigger the copy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages