Re: [CMake] cmake and boost

2010-06-03 Thread Frederic Cervenansky
Hello, I dont know if I post on the right mailing-list or if the project (boost + cmake) is still "alive". But I found a bug trying to compile boost.1.41.cmake0 with visual studio 2010. The BOOL_TOOLSET variable wasn't correctly initialized so when I used FindBoost package to find my boost lib

Re: [CMake] cmake and boost

2010-03-19 Thread Nehme Bilal
I just tried the same solution below on linux and it's working perfectly. I guess it's a visual studio-boost problem. Thanks. Nehme On Fri, 19 Mar 2010 16:51:49 -0400 "Nehme Bilal" wrote: Sorry I did some mistakes. The error I am getting is: LINK : fatal error LNK1104: cannot open file 'li

Re: [CMake] cmake and boost

2010-03-19 Thread Nehme Bilal
Sorry I did some mistakes. The error I am getting is: LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-gd-1_41.lib' and visual studio is trying to look for "vc100" instead of "vc" On Fri, 19 Mar 2010 16:49:24 -0400 "Nehme Bilal" wrote: Thanks all for your respons

Re: [CMake] cmake and boost

2010-03-19 Thread Nehme Bilal
Thanks all for your responses ! I tried James C. Sutherland solution and modified my CMakeList like this: cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR) include_directories(${CMAKE_SOURCE_DIR}/boost/src) include( ${CMAKE_SOURCE_D

Re: [CMake] cmake and boost

2010-03-19 Thread Michael Jackson
On Mar 19, 2010, at 3:34 PM, James C. Sutherland wrote: Why not just let the user decide where they'd like to get boost, and simplify your build system by just using find_package(Boost)? For example, this is all you need for a simple boost-using app... find_package(Boost 1.34.0 REQUIRED C

Re: [CMake] cmake and boost

2010-03-19 Thread James C. Sutherland
> > Why not just let the user decide where they'd like to get boost, and simplify > your build system by just using find_package(Boost)? > > For example, this is all you need for a simple boost-using app... > > find_package(Boost 1.34.0 REQUIRED COMPONENTS filesystem system) > include_directori

Re: [CMake] cmake and boost

2010-03-19 Thread Ryan Pavlik
On Fri, Mar 19, 2010 at 2:17 PM, James C. Sutherland < james.sutherl...@utah.edu> wrote: > > > > include_directories( > > boost/src > > boost/build/lib/Exports.cmake > > ) > > > I think that you want > >include( boost/build/lib/Exports.cmake ) > > instead. Also, you will

Re: [CMake] cmake and boost

2010-03-19 Thread James C. Sutherland
> > include_directories( > boost/src > boost/build/lib/Exports.cmake > ) > I think that you want include( boost/build/lib/Exports.cmake ) instead. Also, you will need to specify the full path to the boost directory. __

Re: [CMake] cmake and boost

2010-03-19 Thread Mateusz Loskot
Nehme Bilal wrote: > Hello all, > > I am a not very familiar with Cmake but I am starting a > new project based on cmake and trying to add boost > libraries to my project. > Fortunately boost now provide a cmake configuration FYI, the CMake configuration for Boost is unofficial. No decision has be

[CMake] cmake and boost

2010-03-19 Thread Nehme Bilal
Hello all, I am a not very familiar with Cmake but I am starting a new project based on cmake and trying to add boost libraries to my project. Fortunately boost now provide a cmake configuration and a description on how to use this configuration that can be found here: http://sodium.resophon