conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
8.17k stars 974 forks source link

Add support to RTOS to default settings.yml #2970

Closed jpovedano closed 4 months ago

jpovedano commented 6 years ago

Support new os_targets in settings.tml to cross compile for RTOS:

To help us debug your issue please explain:

lasote commented 6 years ago

Hi! Thanks for your contribution, nevertheless I'm not sure if these additions are general enough for the community. We try to keep the settings.yml generic enough for the general purpose. You can use conan config install command to install a custom settings.yml and the rest of the conan client configuration. Would be nice to receive more feedback about the RTOS settings.

memsharded commented 6 years ago

Yes, specially because it is avery likely that you will also have profiles for those configurations, and the conan config install will both update your custom settings.yml, and also install the same profiles for the developers and CI

AbrilRBS commented 4 months ago

Closing as solved in Conan 2 with the addition of the settings_user.yml feature that allows appending data to Conan's setting.yml file for each user, which can also be handled with conan config install in a non-destructive way

A different issue is if integrations like CMakeToolchain need to be aware of some specific OS, to customize some behavior. In that case, it would be necessary to create a new ticket reporting that against CMakeToolchain (or other integration), assuming the setting is already defined in settings_user.yml