Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2013-04-16 Thread Slava
On Mon, 15 Apr 2013 16:59:25 +0200, Klaim - Joël Lamotte mjkl...@gmail.com wrote: For now I think the simplest solution would be to make b2 use a default 64bit lib directory when the directory is unspecify. Then FindBoost cmake module can rely on this knowledge to try to find the right

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2013-04-16 Thread Andreas Haferburg
On 11.10.2012 12:16, Klaim - Joël Lamotte wrote: 2. find a way for CMake FindBoost to automatically find the 64 bit binaries instead of the 32 bit binaris. I don't see a clear solution to achieve this, because it depends a lot on how boost have been compiled. Use a naming convention, e.g.

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2013-04-16 Thread Klaim - Joël Lamotte
On Tue, Apr 16, 2013 at 3:16 PM, Andreas Haferburg ahaferb...@scopis.comwrote: I can't guarantee where the boost libraries are installed, that's why I use FindBoost. Just make the CMake error message clear, e.g. Boost 1.50 expected to be found in dir. Most people know how to rename a

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2013-04-15 Thread Klaim - Joël Lamotte
On Thu, Oct 11, 2012 at 2:19 PM, Klaim - Joël Lamotte mjkl...@gmail.comwrote: My current understanding is that boost don't have a specific default lib dir for different address models, which is the source of the problem as FindBoost script can't rely on a protocol to find these lib files. Am

[CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2012-10-11 Thread Klaim - Joël Lamotte
I am having a problem with b2 on Windows using Visual Studio (2010 2012 but it is irrelevant): Until now I was building boost with b2 in a way that would first build 32 bit version in the default library directory, then the 64bit version in lib/64 . I wasn't using the 64bit version until this

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2012-10-11 Thread Miller, Frank
...@cmake.org] on behalf of Klaim - Joël Lamotte [mjkl...@gmail.com] Sent: Thursday, October 11, 2012 5:16 AM To: Boost users list; cmake@cmake.org Subject: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake. I am having a problem with b2 on Windows using Visual Studio (2010

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2012-10-11 Thread Klaim - Joël Lamotte
Júlio Hoffimann said: I don't know if i understood correctly, but you can set the library directory by hand, please refer to /usr/share/cmake-version/Modules/FindBoost.cmake, in particular the variable BOOST_LIBRARYDIR. On Thu, Oct 11, 2012 at 1:29 PM, Miller, Frank fmil...@sjm.com wrote:

Re: [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

2012-10-11 Thread Klaim - Joël Lamotte
Júlio Hoffimann said: I don't know if i understood correctly, but you can set the library directory by hand, please refer to /usr/share/cmake-version/Modules/FindBoost.cmake, in particular the variable BOOST_LIBRARYDIR. On Thu, Oct 11, 2012 at 1:29 PM, Miller, Frank fmil...@sjm.com wrote: