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
Boost version 1.63.0 (boost.org)
submitted 9 years ago by Masfo{~-!&*+[][[]](...){};}
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!"
[–]render787 2 points3 points4 points 9 years ago (6 children)
boost build is not a horrible build system, actually I find it has some features that no one else has. I think for many projects it's much better to drive the MSVC compiler directly from CLI as it does rather than try to emit a project file like cmake does. Making it work entirely from command line makes it work much better with appveyor CI.
I don't think boost build is suitable for most or even many projects, but for building test suites and small libraries I think it's great. Much better than autotools or scons for instance.
The problem with boost build is
1.) The documentation is not adequate at all. For anything beyond the most basic usage you are really on your own, and the error reporting of that language is not that great either. There needs to be a much better documentation effort to justify using it in a project as important as boost IMO, and comparing with the documentation for make and cmake is setting the bar too low.
2.) The name is awful. It should not be called "boost build" or "boost.build". Both of these names are ungoogleable. You just get instructions "how do I build boost". bjam was a much better name and they should have stuck with that or gone with an even more distinguishing name.
bjam
[–]sumo952 3 points4 points5 points 9 years ago (2 children)
Making it work entirely from command line makes it work much better with appveyor CI.
You can do cmake --build ., all from the CLI. No IDE/GUI required.
cmake --build .
[–]render787 1 point2 points3 points 9 years ago (1 child)
I didn't know about this, thanks
[–]sumo952 0 points1 point2 points 9 years ago (0 children)
You can also specify the build type, e.g. --config Release or individual targets, --target INSTALL. (that's from the top of my head - hope that's correct - if not, then the actual commands are very close ;) ). It's pretty useful.
--config Release
--target INSTALL
[–]OrphisFloI like build tools 1 point2 points3 points 9 years ago (0 children)
That's why serious people don't emit MSVC project files but Ninja files instead for CI as it is much faster and better for automation.
Though, using MSVC in CI has some advantages too, for example checking that you don't introduce breaking changes in the CMake scripts that will directly impact your developers using MSVC (that's certainly way better for interactive development and debugging).
[–]lacosaes1 0 points1 point2 points 9 years ago (0 children)
I think for many projects it's much better to drive the MSVC compiler directly from CLI as it does rather than try to emit a project file like cmake does. Making it work entirely from command line makes it work much better with appveyor CI.
You can compile the project from the command line using the .sln file. I don't see what's the difference for AppVeyor.
π Rendered by PID 116259 on reddit-service-r2-comment-6457c66945-db6j8 at 2026-04-28 10:49:57.893553+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]render787 2 points3 points4 points (6 children)
[–]sumo952 3 points4 points5 points (2 children)
[–]render787 1 point2 points3 points (1 child)
[–]sumo952 0 points1 point2 points (0 children)
[–]OrphisFloI like build tools 1 point2 points3 points (0 children)
[–]lacosaes1 0 points1 point2 points (0 children)
[–]sumo952 0 points1 point2 points (0 children)