question-mark
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.

`conan new` for package consumers

See original GitHub issue

Hi,

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:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
memshardedcommented, Mar 1, 2017

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.

1reaction
memshardedcommented, Mar 2, 2017

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!

Read more comments on GitHub >

github_iconTop 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 >

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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found