My work mainly consists of engineering analysis, but I am increasingly distributing the code among my colleagues. The big pain is that not every user has the skills to compile the source code, and I cannot distribute executable files.
I worked with C ++ using Boost, and the problem is that I cannot request every system administrator of each network to install libraries. Instead, I want to distribute one source file (or as little as possible) so that the user can g++ source.c -o program .
So the question is, can you pack the Boost libraries with your code and end up with one file? I am talking about Boost libraries that are just "headers" or "just templates."
As an inspiration, check out the SQlite distribution or Lemon Parser Generator ; the author combines the material into one source file, which is trivially compiled.
Thanks.
Edit
A related question in SO for a Windows environment. I work on Linux.
c ++ boost software-distribution
Escualo
source share