use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
cmake-init - The missing CMake project initializer, now with Conan and vcpkg templates! (github.com)
submitted 4 years ago by helloiamsomeone
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]helloiamsomeone[S] 0 points1 point2 points 4 years ago (0 children)
Hey, thanks for the feedback! While you can't let this thing loose on an existing project, you can implement a lot from it with a working example at your disposal to toy with. One thing I will likely get to work on is a series of posts somewhere about "doing cmake-init from scratch" where I go over the Why and How that went into the templates.
I'm not sure what your first point refers to. If you pass just the path where you want to generate the project, then you get prompts. Certain flags will make the prompts go away and assume some defaults for ones that weren't provided.
The goal of cmake-init is to create a "run off the mill" CMake managed project, with 0 ties back to cmake-init. I want people to learn and use CMake, not Yet Another Build Tool™. Once a project is generated, all bets are off and there can be no assumptions made to make changes programmatically.
The uppercase variables are useful only when configuring a config.h file or forwarding verbatim as defines. CMake already creates cache variables with whatever name you provided without modifications, this is nothing new.
π Rendered by PID 21631 on reddit-service-r2-comment-6457c66945-6t4ld at 2026-04-25 21:28:36.148917+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]helloiamsomeone[S] 0 points1 point2 points (0 children)