Making Boost Portable with Our Code

Dear all,

I have a set of codes that use a lot of Boost
tool. I then want to release the source code
for public.

Is there a way I can make port Boost in my code
so that when people want to build/compile my code
they don't need to have Boost install in there
computer?

Some libraries are implemented inline, so it's enough to include them. For the others, it's usually easier to just tell them to install the libraries.
In the case of Windows, you can also distribute the compiled static libraries.
Some libraries are implemented inline, so it's enough to include them.


You mean Boost has such kind of library? Do you have any example of that?
Sorry, but I really didn't know that.
Uh... Actually, no. I remember reading that in some document or reference, but I don't remember reading about any examples.
It's probably the smaller ones, though.
Boost has 2 types of libraries. Include and Link.

Include libraries you just have to include the header to use. Link ones must be compiled and the library linked.

Both require you to have Boost installed. So there is no way to do what your asking without packing boost with your code.

@helios: Read his question again.
Topic archived. No new replies allowed.