So, I use a set of boost libraries, but the sheer number of included files makes checking for a clean copy very slow. I am sure that most people who use boost with svn have noticed this. For a while I searched a lot to find a useful utility from boost called bcp that only copies dependent header files to the directory I specified. So, what I would like to do is provide the minimum number of header files in svn and let the developer compile everything as needed. The first step is to copy the necessary header files and check all the necessary pre-compiled libraries. The next step would be to discard the pre-compiled libraries and make it a pre-build step in any build system that I use for my project (in my case, Visual Studio, but make would be fine too). My question is what
Does anyone know how to create only the libraries needed for a subset of headers?
I do bcp along the lines of this
bcp.exe --scan C:\path\to\my\files\main.cpp C:\path\to\my\files\someOtherCppFilesToo.cpp C:\path\to\reduced\boost
The internet seems to think that I can do something like this
cd C:\path\to\reduced\boost bootstrap.exe b2.exe
Now the problem is that I cannot figure out if there is a way to copy the compile / bootstrap / jam / whatever configuration so that boost.build and bootstrap know how to configure / compile everything. I obviously donβt want to copy every file from the boost directory, because it will defeat the whole purpose of reducing boost.
source share