Subject: [Boost-build] Compiling multiple sources
From: Phillip Seaver (phil_at_[hidden])
Date: 2014-03-12 12:19:58
In this somewhat-ancient thread, I asked about the possibility of
compiling multiple source files with the same command-line:
This use case isn't as frequent for me as just changing a few files and
recompiling, but if I change a primary header in a library, it can cause
many files to be recompiled (or if I bring in a new version of a
third-party library, e.g.).
I ran a test with a library with 48 files, running the compiler
directly. With a .bat file containing one command-line per file, it
took about 8.6 seconds. With a single command-line containing all the
source files, it took about 5.3 seconds.
I know I'm probably an outlier in how I use boost-build. A few of my
projects use wxWidgets, and we compile it and all the third-party
libraries we use (and that it uses), so we have some fairly large projects.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk