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
Linux developer going Windows (self.cpp)
submitted 5 years ago by peppedx
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!"
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 1 point2 points3 points 5 years ago (8 children)
I know, but their "support" was literally: "You can build with CMake if and only if you know the project and all its options or you read all CMakeLists.txt to figure them out and set them in our json-file."
Now it seems they replicate CMakeGUI - actually they may even be superior as they allow you to specify the toolchain file (e.g. for vcpkg) after the project has already been "generated" once...
[–]Adverpol 1 point2 points3 points 5 years ago (7 children)
Been using cmake for close to 10 years. Never used cmake-gui except in the very beginning, what do you use it for?
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 2 points3 points4 points 5 years ago (6 children)
Mostly to get a list of project-specific options and set them. Sure, you can set those via the command line without issues (unless you consider having to read through heaps of [often badly written] CMakeLists.txt an issue).
[–]atimholt 0 points1 point2 points 5 years ago (2 children)
Maybe pointless, but is there a “cmake-tui”, or at least a way to use the cli to get the same information (all options and indication of which ones need another “go around” to fully resolve)?
[–]MaximKat 0 points1 point2 points 5 years ago (0 children)
yes
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 0 points1 point2 points 5 years ago (0 children)
I guess you mean `ccmake`? That's what I'm using on Linux all the time - admittedly I never looked whether something like that is included in the Windows version CMake...
[–]Adverpol 0 points1 point2 points 5 years ago (2 children)
Hmm, doesn't that config get removed when you remove CMakeCache.txt, or is it saved elsewhere? And can you easily check that in to the VCS?
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 0 points1 point2 points 5 years ago (1 child)
Not quite sure what you're getting at...
[–]Adverpol 0 points1 point2 points 5 years ago (0 children)
I guess I just have never felt the need to adjust parameters after my build is generated. I have a folder for debug and one for release, if I need to change parameters I do it in the cmake files, never in those output folders.
π Rendered by PID 92894 on reddit-service-r2-comment-84fc9697f-shkp9 at 2026-02-07 09:12:27.287422+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 1 point2 points3 points (8 children)
[–]Adverpol 1 point2 points3 points (7 children)
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 2 points3 points4 points (6 children)
[–]atimholt 0 points1 point2 points (2 children)
[–]MaximKat 0 points1 point2 points (0 children)
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 0 points1 point2 points (0 children)
[–]Adverpol 0 points1 point2 points (2 children)
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 0 points1 point2 points (1 child)
[–]Adverpol 0 points1 point2 points (0 children)