Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I add Boost source+header files to my own (Open Source) project? [closed]

Is it allowed by the Boost License to just add the source code of the stuff I need to my project (accompanied by the license of course?). I couldn't find any "descriptive" confirmation. I would have seperate Include/boost and Source/boost directories for easy access.

PS: Seeing as boost::filesystem is going into C++0x TR2, and lambda, regex and whatnot are already in c++0x TR1, I don't see any reason to be juggling with C functions like realpath, getcwd and the like. They don't work well anyways...

UPDATE: I'm adding the required files "one-by-one" folder by folder, but the amount is gigantic. Maybe it's better to include the full boost dist....

like image 376
rubenvb Avatar asked May 21 '10 08:05

rubenvb


2 Answers

Yes you can do that. The license is very liberal. The only condition is that if you redistribute your software in source form you need to include a complete copy of the license.

like image 199
JoeG Avatar answered Sep 24 '22 14:09

JoeG


i would recommend linking to boost externally instead of include the source directly into your projects. beside the huge spiderweb dependency issue, linking them externally mean you can always refer to latest stable build (assume u checkout from the repository) without explicitly overwrite each old source in your project.

like image 25
YeenFei Avatar answered Sep 22 '22 14:09

YeenFei