conan-io / conan-package-tools

Conan Package Tools. Helps with massive package creation and CI integration (Travis CI, Appveyor...)
MIT License
165 stars 70 forks source link

[Question] Can I use profile composition with cpt? #598

Open PatSche opened 2 years ago

PatSche commented 2 years ago

With Conan client, we can specify multiple profiles in the command line. The applied configuration will be the composition of all the profiles applied in the order they are specified. This is called "profile composition".

Is it possible to use this feature of Conan client also with conan-package-tools or is not supported?

In my case, I have a default profile or a profile for cross-compilation like raspi and a profile qt_options for all common options to compile the same configured Qt Conan package for Raspberry Pi and my host system.

uilianries commented 2 years ago

Hello @PatSche ! Unfortunately this feature is not implemented as it's a rare case. Actually, you are the first who asks for it.

It can be added yes, but will not be prioritized now due other tasks. Feel free to open PR with a contribution!

Regards!