Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-15 Thread Dmytro Ovdiienko
Philip, I like it. That is exactly I tried to achieve with BOOST_LIBRARYDIR. However BOOST_LIBRARYDIR does not support list values in the CMake 2.8.2. On 7 December 2010 15:16, Philip Lowman phi...@yhbt.com wrote: On Sunday, December 5, 2010, Hicham Mouline hic...@mouline.org wrote: I've

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Dmytro Ovdiienko
...@gmail.com] On Behalf Of Philip Lowman Sent: 05 December 2010 04:54 To: Hicham Mouline Cc: Philip Lowman; CMake mailing list Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs On Saturday, December 4, 2010, Hicham Mouline hic...@mouline.org wrote: I was wrong

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Hicham Mouline
   -Original Message- From: Dmytro Ovdiienko [dmitriy.ovdie...@gmail.com] Date: 07/12/2010 10:57 AM To: Hicham Mouline CC: Philip Lowman , CMake mailing list , boost-bu...@lists.boost.org Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs Hicham, Sorry for confusing. I

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Philip Lowman
On Sunday, December 5, 2010, Hicham Mouline hic...@mouline.org wrote: I've built both win32 and x64 versions of boost thread library with the following 2 lines: 1. 32bit cl.exe from msvc9 directory in the %PATH% bjam --with-thread --layout=versioned toolset=msvc address-model=64

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Hicham Mouline
From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of Philip Lowman Sent: 07 December 2010 13:17 To: Hicham Mouline Cc: Philip Lowman; Dmytro Ovdiienko; CMake mailing list; boost-bu...@lists.boost.org Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Michael Jackson
: [CMake] FindBoost: find both win32 and x64 static libs On Sunday, December 5, 2010, Hicham Mouline hic...@mouline.org wrote: I've built both win32 and x64 versions of boost thread library with the following 2 lines: 1. 32bit cl.exe from msvc9 directory in the %PATH% bjam --with-thread --layout

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-05 Thread Hicham Mouline
-Original Message- From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of Philip Lowman Sent: 05 December 2010 04:54 To: Hicham Mouline Cc: Philip Lowman; CMake mailing list Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs On Saturday

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Philip Lowman
On Tue, Nov 30, 2010 at 5:37 PM, Hicham Mouline hic...@mouline.org wrote: As boost libraries naming convention doesn't include in the lib names whether they are built by msvc9 win32 or x64, I am forced on a winxp 64 box where I hold both versions to have a different lib directory under

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Hicham Mouline
ones based on the name of the libs. regards From: philiplow...@gmail.com [mailto:philiplow...@gmail.com] On Behalf Of Philip Lowman Sent: 04 December 2010 11:03 To: Hicham Mouline Cc: CMake mailing list Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs On Tue, Nov 30, 2010

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Rolf Eike Beer
Am Samstag, 4. Dezember 2010 schrieb Philip Lowman: On Tue, Nov 30, 2010 at 5:37 PM, Hicham Mouline hic...@mouline.org wrote: As boost libraries naming convention doesn't include in the lib names whether they are built by msvc9 win32 or x64, I am forced on a winxp 64 box where I hold

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Philip Lowman
On Saturday, December 4, 2010, Hicham Mouline hic...@mouline.org wrote: I was wrong. Dmytro pointed out that bjam allows building boost libraries with the compiler and bitness in the boost library name --layout=versioned. Therefore, I could have both 32 and 64bit versions in the same

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-02 Thread Dmytro Ovdiienko
Hicham, You can force boost to add compiler name to the library file name. Add --layout=versioned to the bjam command line. On 1 December 2010 00:37, Hicham Mouline hic...@mouline.org wrote: As boost libraries naming convention doesn't include in the lib names whether they are built by msvc9

[CMake] FindBoost: find both win32 and x64 static libs

2010-11-30 Thread Hicham Mouline
As boost libraries naming convention doesn't include in the lib names whether they are built by msvc9 win32 or x64, I am forced on a winxp 64 box where I hold both versions to have a different lib directory under boost_root. I set BOOST_ROOT then call FIND_PACKAGE(Boost 1.44 COMPONENTS ...). Am