conan-package-tools icon indicating copy to clipboard operation
conan-package-tools copied to clipboard

pass custom args to conan create

Open boussaffawalid opened this issue 4 years ago • 1 comments

Hello,

My understating is that CPT use the conan create internally. Based on that, I would like to know if there is a way to pass custom arguments to conan create command ? Basically, I want to be able to use multiple combination of the conan --build option

Thanks.

Environment Details

  • Conan Package Tools Version: 0.23.0
  • Operating System: Linux
  • Operation System Version: Ubuntu 16.04
  • Compiler+version: gcc-5.4
  • Python version: python 3.7.0

boussaffawalid avatar Oct 29 '19 14:10 boussaffawalid

Hi @boussaffawalid !

I would like to know if there is a way to pass custom arguments to conan create command ?

No.

want to be able to use multiple combination of the conan --build option

You can use there two options:

https://github.com/conan-io/conan-package-tools#upload-dependencies-237

https://github.com/conan-io/conan-package-tools#environment-configuration

  • CONAN_BUILD_POLICY

Regards!

uilianries avatar Jan 21 '20 11:01 uilianries