pocb / boost Goto Github PK
View Code? Open in Web Editor NEWPlain Old CMake-ified Boost
Plain Old CMake-ified Boost
CMake-ified Boost ----------------- First of all, the (pristine/official) Boost project can be found on: http://www.boost.org The CMake build framework (set of CMakeLists.txt and module.cmake files) is then added on top of the official Boost release, thanks to a dedicated patch. That CMake framework (and patch) is hosted and maintained on GitHub, in the following Git repository: https://github.com/pocb/boost POCB stands for Plain Old CMake-ified Boost, as opposed to the new Ryppl initiative towards a modularised Boost, also using extensively CMake. However, as of today (June 2011), that framework does not allow easily building Boost for Linux distributions. [A clone also exists on Gitorious, where CMake-related work was formely done: http://gitorious.org/boost/cmake] Upstream work is synchronised thanks to the Ryppl's hosted Git clone: https://github.com/ryppl/boost-svn/tree/trunk A discussion explaining the details can be read on the Ryppl Google Group: https://groups.google.com/group/ryppl-dev/browse_thread/thread/4e2ffe397d03eaee/b619c95964b0e003?hl=en&#b619c95964b0e003 The Ryppl project (http://www.ryppl.org) is maintained by Eric Niebler and Dave Abrahams, from the Boost project, and is itself a lot more than just about synchronisation: "Ryppl aims to be a distributed cross-platform software management system designed to accommodate both end-users and developers. Ryppl unites version control, test management, package management, release management, reporting, and other sub-systems into a coherent and scalable software management system." That current CMake-ification (sub-)project aims to be fully integrated into the Ryppl project. There is still some work to be done on the CMake-ification of modularised Boost. If you would like to contribute, do not hesitate to subscribe to the Ryppl mailing list: http://groups.google.com/group/ryppl-dev/subscribe Denis Arnaud (June 2011)
Not having or disabling ICU causes cmake-release/cmake-1.49.0 to fail to build, because none of the other defines in libs/locale/src/encoding/codepage.cpp are satisfied.
[ 85%] Building CXX object libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_between(const char*, const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: ‘converter_between’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: invalid type in declaration before ‘;’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > boost::locale::conv::impl::convert_to(const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: ‘converter_to_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: expected unqualified-id before ‘>’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_from(const CharType*, const CharType*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: ‘converter_from_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: expected unqualified-id before ‘>’ token
make[2]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o] Error 1
make[1]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/all] Error 2
make: *** [all] Error 2
[zinc:~/boost.build]
I didn't manage compile many of the modules. For example thread-mt-shared failed to compile because it's not linked with system-mt-shared.
When building, it stops at building shared library of chrono, which says undefined reference to some symbols in system module.
From the linking.txt, seems like the linking command doesn't link the other dependence libraries. This works for linux system, but for on MacOSX, leaving undefined symbols there will cause linker errors:
http://stackoverflow.com/questions/3695234/what-is-the-deal-with-undefined-symbols-in-a-shared-library-or-dylib
I wonder if anyone else has succeeded building on Mac so it is just my misconfiguration of toolchains (I used macports).
Another question is if it really has issues building on Mac, then do you have any plan to support the Mac platform?
Thanks.
boost-1.48.0 has a new timer API (Boost.Timer v2 [1]), but the corresponding libboost_timer.so library is not build by these cmake files.
[1] http://www.boost.org/doc/libs/1_48_0/libs/timer/doc/index.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.