conan-io / conan-extensions

Some extra Conan commands for different purposes, like artifactory tasks, conan-center-index, etc
MIT License
28 stars 26 forks source link

Using CPack deployer #68

Open MartinDelille opened 1 year ago

MartinDelille commented 1 year ago

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 commented 1 year ago

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:

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