Pau,

Having our own versions of searching for boost/zlib and other
dependencies is historical, because the cmake delivered scripts did
not work good enough both on Linux and Windows. Has cmake improved on
their cross-platform detection capabilities lately?

Regards,
Wim.

2009/6/22 Pau Garcia i Quiles <[email protected]>:
> On Mon, Jun 22, 2009 at 11:21 PM, Joseph VanAndel<[email protected]> wrote:
>> I'm using boost_1_39_0 and wt from git
>> -----------------------------------
>> commit 792fda688292be10756dea1607581a7dc10f8e61
>> Author: Koen Deforche <[email protected]>
>> Date:   Tue Jun 2 16:54:40 2009 +0200
>> ------------------------------------
>>
>> on CentOS 5
>>
>> cmake/WtFindBoost.txt assumes that the multithreaded libraries of boost have
>> '-mt' in their filename.
>> I built boost_1_39_0 using:
>> ./bjam --build-type=minimal  --layout=system \
>> variant=debug link=shared threading=multi runtime-link=shared  install
>>
>> The libraries support multithreading, but do *not* have -mt in their
>> filenames.
>>
>> I've attached a diff for cmake/WtFindBoost.txt that allows a user to pass
>> -DBOOST_FORCE_MULTITHREAD=1 as an option to cmake.
>> Could one of the Wt maintainers apply this patch, or devise another solution
>> to this issue?
>
> WRT this, I think it would be a good idea to use the standard CMake
> finders instead of Wt's custom-made finders:
>
> WtFindZlib -> FindZLIB.cmake
> WtFindSsl -> FindOpenSSL.cmake
> WtFindBoost -> FindBoost.cmake (particularly in this case, as Boost is
> a difficult beast to tame: too many variations to be taken into
> account)
>
> FindBoost.cmake does not support Asio, therefore WtFindAsio.txt would
> still be needed.
>
> FindWt.cmake needs some love, too, but I won't be able to work on it
> until the second half of July. Will that be too late for Wt 3.0 ?
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to