Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

generate packages for different option values

See original GitHub issue

Feature request

Right now if I set CONAN_BUILD_TYPES="Debug,Release" CPT will create two packages for Debug and Release build types. However CONAN_OPTIONS does not work in the same way. I’m not sure if this is a feature or a bug.

For example, if I set CONAN_OPTIONS ="foobar:with_bar=True,foobar:with_bar=False" only one package is created. It would be great if CPT allow creating permutations for options as well,

Environment Details

  • Conan Package Tools Version: 0.23.0
  • Operating System: Linux
  • Operation System Version: Ubuntu 16.04
  • Compiler+version: gcc-5.4
  • Docker image: conanio/gcc7
  • Conan version: conan 1.2.0
  • Python version: python 3.7.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

boussaffawalidcommented, Feb 17, 2020

@uilianries I agree and think such new option will be very handy

uilianriescommented, Feb 13, 2020

@boussaffawalid Your request is not bad, but inserting option values which are not explicit, are not good IMO. For instance, fPIC is only distributed as True.

I think we could add new option like CONAN_BUILD_ALL_OPTIONS=foo:qux,foo:bar which do what you need.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generate Global Options
Here the GlobalOptions package provides a more general and controlable way to generate such functions, which can: validate the values (e.g. ...
Read more >
Multiple OPTION value to use as GET in form - Stack Overflow
I know that sending it via POST will reload my website with value given by value name. But I need to do it...
Read more >
Video: Create and manage drop-down lists - Microsoft Support
Training: Watch and learn how to insert a drop-down list in Excel to make data entry easier or to limit cell entries to...
Read more >
Chunk options and package options - Yihui Xie - 谢益辉
This page documents all chunk options and package options available in knitr. The default values of these options are in parentheses in the ......
Read more >
HTML option value Attribute - W3Schools
The value attribute specifies the value to be sent to a server when a form is submitted. The content between the opening <option>...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found