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-/Modules/FindBoost.cmake, in particular the > variable BOOST_LIBRARYDIR. On Thu, Oct 11, 2012 at 1:29 PM, Miller, Frank wrote: > A simple solut

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-/Modules/FindBoost.cmake, in particular the > variable BOOST_LIBRARYDIR. On Thu, Oct 11, 2012 at 1:29 PM, Miller, Frank wrote: > A simple solut

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

2012-10-11 Thread Miller, Frank
A simple solution would be to install only the 64bit version of boost into a new directory and change the environment variable to point there. Then FindBoost will only be able to see the version you want. Frank From: cmake-boun...@cmake.org [cmake-boun...@cmake.

[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 mor

[CMake] Adding an existing .vcxproj

2012-10-11 Thread Vladimir Jaksic
Hello, Normally when creating a project that statically links another library (in win32), i would do write something along the lines of: project(A) ... add_subdirectory(libraryB) target_link_libraries(A libraryB) ... This would assume that the directory libraryB contains its own CMakeLists