`conan new` for package consumers
See original GitHub issueHi,
It would be nice to have a fast/easy way to set up a new project with Conan, similar to npm init.
Setting up everything, like cmake file, conanfile, .gitignore, main.cpp etc. takes some time, and it’s hard to do it right at the first time (was it “require” or “requires” etc). Automating these things can be useful, e.g. for creating small demos/experiments or smaller applications.
conan new
can also be extended for package creators to generate files for travis and appveyor.
What files are generated should be controlled via flags or an interactive mode with questions.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Use conanfile.py for consumers — conan 1.53.0 documentation
You can use a conanfile.py for installing/consuming packages, even if you are not creating a package with it. You can also use the...
Read more >Conan packages in the Package Registry - GitLab Docs
Install a Conan package from the Package Registry so you can use it as a dependency. You can install a package from the...
Read more >Conan Package Manager in Practice - GitHub Pages
○ Completely new sets of challenges. − Scalability, Maintainability, Reproducibility, Etc. ○ Conan has extensive collection of related features. ○ Devoting ...
Read more >Conan package manager tutorial - Level Up Coding
To make a Conan package become visible to consumers we need to export the conanfile.py to local Conan cache (By convention, this file...
Read more >Conan Package Manager for C++ in Practice - YouTube
By Jerry Wiltse, presented at Core C++ [online] meetup, March 2021. The slides can be found at http://bit.ly/ConanDemo, more links to Conan ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @sixten-hilborn , @lasote,
Any new thought on this request?. I personally think that it is bigger the effort in learning a new tool or command arguments than just learning the simple conanfile.txt syntax. Besides our effort in coding and documenting the tool. My vote is for closing this issue.
I think it is a good idea, of course we are open to rethink it if necessary, just let us know how your tool evolves. Thanks!