Skip to content

Add Conan recipe for header-only package#25

Merged
ermig1979 merged 1 commit into
ermig1979:masterfrom
Centimo:add-conan-recipe
Feb 12, 2026
Merged

Add Conan recipe for header-only package#25
ermig1979 merged 1 commit into
ermig1979:masterfrom
Centimo:add-conan-recipe

Conversation

@Centimo
Copy link
Copy Markdown
Contributor

@Centimo Centimo commented Feb 12, 2026

Summary

  • Add Conan 2.x recipe (prj/conan/conanfile.py) for Cpl as a header-only package
  • Version is derived from git tags (v* format), with a clear error if no tags are found
  • Exports and packages all *.h files from src/Cpl/
  • Declares pthread and stdc++fs as system libs on Linux/FreeBSD

Motivation

Cpl is used by several Conan packages. Packaging it as a Conan package allows Conan to control version uniqueness in the dependency graph.

Version is read from git tags (v* format).
@ermig1979 ermig1979 merged commit 7f68751 into ermig1979:master Feb 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants