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

Using CPack deployer #68

Open
MartinDelille opened this issue Aug 16, 2023 · 1 comment
Open

Using CPack deployer #68

MartinDelille opened this issue Aug 16, 2023 · 1 comment

Comments

@MartinDelille
Copy link

I'm developping a CMake Qt application using 11 conan dependencies and I would like to use CPack for deployement.

I read here that it should be a conan extension and I wondered how this would works ? Shall I write my own deployer ?

I currently call cpack from the build method.

I read here that @gmeeker has a quite similar setup so maybe you could share your thought.

@memsharded
Copy link
Member

Hi @MartinDelille

Definitely it seems the right approach would be a deployer (though if it is very configurable, it might be better as a custom command, it depends). The approach would be:

  • If it is quite generic and could be useful to other Conan users, at least as a base for customizing their own, try to contribute a barebones one (the minimum common denominator to be useful to as many people as possible) to this extensions repo.
  • If it sounds very opinionated or specific to a use case, better just do it for your own projects, it might be a bit confusing to have it here, and create more questions and support

I don't think having it as built-in in Conan makes sense.

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

No branches or pull requests

2 participants