Giter Site home page Giter Site logo

Comments (2)

memsharded avatar memsharded commented on July 20, 2024

Hi Denis,

No there is no current way to generate profiles, from CMake or even from conan command line. Those files have to be manually written. It is a relatively new feature, so creating profiles on the fly hasn't been a thing yet. It tend to be the opposite, we have had some questions regarding how to share profiles between teams, so creating the profiles in a repository and letting the --profile point to any specific user path was an implemented feature request.

The conan.conf and profiles are hiearchical (like git configuration). Profiles overwrite (or partially overwrite, if you define it as such) the contents of user conan.conf. Changing that to a default profile might change behavior and break for a few users.

Conanfile.txt and conaninfo.txt are quite different files. Conanfile.txt is an input file that can be committed to Version Control, serving for many users under different OS and compilers. Conaninfo.txt is the saved snapshot of a the configuration for a certain conan install invocation. This file shouldn't typically be committed to version control, but it is a good log, to be saved with the binary artifacts. So it contains, for example, the OS, the compiler, etc. That information cannot be stored in conanfile.txt, is not a limitation, it is by definition that it can be the same information.

from cmake-conan.

memsharded avatar memsharded commented on July 20, 2024

Hi @traceon,

Besides the questions, I think that there is no specific action required, so I am closing this issue, but please comment or reopen if necessary. A feature request could be that of "conan generating profiles", but as I told you, most of the feedback about the feature actually points in the opposite direction. If you still interested, maybe submit it to the main conan repository to get the feedback of other users.
Thanks!

from cmake-conan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.