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

Suggestion: option to provide build configuration via command line argument #82

Open
ttikkanen opened this issue Feb 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ttikkanen
Copy link

ttikkanen commented Feb 3, 2021

Use case:

We have multiple build configurations stored inside a devops toolkit. Some of them are for developer use, some for CI pipelines.

To change between configurations, I currently have to create a temporary $COLCON_HOME and copy a build configuration there, or change $COLCON_HOME to point out to a directory with the config. However, the latter assumes that the file name is defaults.yaml.

Suggestion

colcon build --config-path /path/to/config

Since providing build arguments via command line is rather clumsy, I would rather use configuration files as the default way to configure. For example providing multiple cmake-args didn't work as expected, due to very careful formatting needed.

@dirk-thomas dirk-thomas added the enhancement New feature or request label Mar 15, 2021
@dirk-thomas
Copy link
Member

Please consider to contribute a pull request for this feature idea in the colcon-core repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants