Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] CLI11 should not be header only #25737

Closed
vasama opened this issue Oct 27, 2024 · 2 comments · Fixed by #25741
Closed

[package] CLI11 should not be header only #25737

vasama opened this issue Oct 27, 2024 · 2 comments · Fixed by #25741
Assignees
Labels
bug Something isn't working

Comments

@vasama
Copy link
Contributor

vasama commented Oct 27, 2024

Description

CLI11 supports building as a static library, but the Conan recipe is always header only.

Package and Environment Details

N/A

Conan profile

N/A

Steps to reproduce

N/A

Logs

N/A

@vasama vasama added the bug Something isn't working label Oct 27, 2024
@uilianries uilianries self-assigned this Oct 27, 2024
@uilianries
Copy link
Member

Correct. The CLI11 project offers an option to build static library: https://github.com/CLIUtils/CLI11/blob/v2.4.2/CMakeLists.txt#L82

I would suggest adding header-only option and enabling it by default, so we will not affect the current Package ID for users.

@vasama
Copy link
Contributor Author

vasama commented Oct 27, 2024

I implemented this here: https://github.com/vasama/conan-center-index/tree/cli11/precompiled
Waiting for access in #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants