Hi there, I'm using CMake as my build system -- not to build boost, but build my own project, which heavily depends on Boost. I habe in the past used the FindBoost.cmake macro to locate the most suitable Boost version. However, there does not seem to be a centrally maintained version of this file (I believe it originated from the KDE project ?), and I was wondering whether "anyone" in Boost was working on a replacement. After all, if CMake is considered as an alternative build system for Boost itself, allowing users to find the installed libraries would be the most logical step. Thanks and Best Regards, Ruediger
On Sunday 15 February 2009 15:40:22 Ruediger Berlich wrote:
Hi there,
I'm using CMake as my build system -- not to build boost, but build my own project, which heavily depends on Boost. I habe in the past used the FindBoost.cmake macro to locate the most suitable Boost version. However, there does not seem to be a centrally maintained version of this file (I believe it originated from the KDE project ?), and I was wondering whether "anyone" in Boost was working on a replacement. After all, if CMake is considered as an alternative build system for Boost itself, allowing users to find the installed libraries would be the most logical step.
FindBoost.cmake is maintained by the CMake people, At least it was installed by Ubuntu together with Cmake 2.6.2. Are you sure it is not already in something like /usr/share/cmake-2.6/Modules ? -- Kind regards, Esben
Hi Esben, Esben Mose Hansen wrote:
FindBoost.cmake is maintained by the CMake people, At least it was installed by Ubuntu together with Cmake 2.6.2. Are you sure it is not already in something like /usr/share/cmake-2.6/Modules ?
I do not really believe that the Boost-module that comes with CMake is centrally maintained by the CMake guys - instead it has likely been contributed by the community. And according to my experience it is also not entirely bug-free (try installing two Boost versions in different directories: it mixes up Boost 1.36 and 1.38 in the link phase for me), nor easy to use. Hence my question. Best Regards, Ruediger
On Sunday 15 February 2009 19:41:08 Ruediger Berlich wrote:
FindBoost.cmake is maintained by the CMake people, At least it was installed by Ubuntu together with Cmake 2.6.2. Are you sure it is not already in something like /usr/share/cmake-2.6/Modules ?
I do not really believe that the Boost-module that comes with CMake is centrally maintained by the CMake guys - instead it has likely been contributed by the community.
I must disabuse you of that notion. For proof, look at the changelog for 2.6.2 http://mail.kde.org/pipermail/kde-buildsystem/2008-September/005068.html (sorry about the link to a mailing list, I'm too lazy to do better than a simple google search :) ) FindBoost is mentioned several times.
And according to my experience it is also not entirely bug-free (try installing two Boost versions in different directories: it mixes up Boost 1.36 and 1.38 in the link phase for me), nor easy to use. Hence my question.
I'm sure they accept both patches and bug reports. Why reinvent the wheel? Don't tell me you like to write CMake modules for fun ;) -- kind regards, Esben
participants (2)
-
Esben Mose Hansen
-
Ruediger Berlich