[CMake] Fwd: Problem with PARENT_SCOPE

2009-02-11 Thread ankit jain
-- Forwarded message -- From: ankit jain Date: 2009/2/12 Subject: Problem with PARENT_SCOPE To: cmake@cmake.org Hi all, Actually i am usinf PARENT_SCOPE property but facing some problem. the directory structure i have is like this f1 ...f2 .f3 (inside f2) i.e f1 has f2

[CMake] Problem with PARENT_SCOPE

2009-02-11 Thread ankit jain
Hi all, Actually i am usinf PARENT_SCOPE property but facing some problem. the directory structure i have is like this f1 ...f2 .f3 (inside f2) i.e f1 has f2 folder and f2 has f3 in f3 i have demo.cpp file i set a variable for this file as set(myvar demo.cpp) Also i did set(myvar1 ${my

Re: [CMake] Regression between 2.4.8 and 2.6.2 for the macada version of the gcc compiler

2009-02-11 Thread Ivan Levashew
Alan W. Irwin wrote: I suspect the ada/gcc compiler calls ld directly without passing through /usr/bin/libtool. If this is true, changing "-current_version" to "-dylib_current_version" should solve the problem. In Darwin.cmake, this user changed SET(CMAKE_C_OSX_CURRENT_VERSION_FLAG -Wl,-curr

Re: [CMake] Can FindBoost.cmake support STLport

2009-02-11 Thread unixcc
Hi, Thanks first! Today, I compiled two Boost libraries with following command: bjam --with-thread --with-date_time stdlib=stlport --build-type=complete stage So, I got following libraries boost_date_time-vc80-mt-gdp-1_38.dll boost_date_time-vc80-mt-gdp-1_38.lib boost_date_time-vc80-mt-gdp.lib

Re: [CMake] How to set flags to build in Linux64 and Linux32?

2009-02-11 Thread Matthew Woehlke
Cherry Liu wrote: I'm pretty green with CMake and I'm trying to build a project in both Linux64 and Linux32, respectively. The compiler I'm using is GCC. Right now, I don't know what flags or what special commands to pass into my CMake template for this to happen. The code I'm thinking of is: i

[CMake] How to set flags to build in Linux64 and Linux32?

2009-02-11 Thread Cherry Liu
Hi all, I'm pretty green with CMake and I'm trying to build a project in both Linux64 and Linux32, respectively. The compiler I'm using is GCC. Right now, I don't know what flags or what special commands to pass into my CMake template for this to happen. The code I'm thinking of is: if( GC

Re: [CMake] cmake 2.6.3 RC 13

2009-02-11 Thread Bart Janssens
On Wed, Feb 11, 2009 at 9:01 PM, Bill Hoffman wrote: > I have a release candidate (RC 13) for 2.6.3 ready for CMake. > > This should be about the last one. At this point I am only going to fix > regressions from previous releases of CMake into 2.6.3, so please try > this release. Any chance http

[CMake] cmake 2.6.3 RC 13

2009-02-11 Thread Bill Hoffman
I have a release candidate (RC 13) for 2.6.3 ready for CMake. This should be about the last one. At this point I am only going to fix regressions from previous releases of CMake into 2.6.3, so please try this release. Thanks. The files can be found here: http://www.cmake.org/files/v2.6/*RC-13

Re: [CMake] "unit" testing your CMakeLists.txt

2009-02-11 Thread Bill Hoffman
Mike Arthur wrote: On Monday 09 February 2009 20:15:33 Tyler Roscoe wrote: Does anyone do anything like this? Are there tools around to help? Is this a worthwhile thing to think about? I think this shouldn't be separate from the rest of your other TDD stuff that the non-buildsystem developers a

Re: [CMake] Can FindBoost.cmake support STLport

2009-02-11 Thread Michael Jackson
Pretty sure that FindBoost.cmake does not support (currently) the STLPort boost libraries. Can you send the complete name of a few of the libraries that you compiled and also your system information. A patch may be able to be written rather quickly for that. I would also put in a bug/feat

Re: [CMake] MSVC7.1 static link question

2009-02-11 Thread Brad King
Philip Lowman wrote: On Tue, Feb 10, 2009 at 1:01 PM, Brad King CMake 2.6 makes it easy to export targets from one project (either its build tree or install tree) for use by another project. Is this the easiest way to register dependencies of IMPORTED static libraries against each other

[CMake] Can FindBoost.cmake support STLport

2009-02-11 Thread Kevin Lee
Hi, I compiled Boost 1.38.0 with STLport. There is a 'p' in ABI tag of Boost libraries' name. But cmake can't find the libraries. I check FindBoost.cmake and can't find nothing about STLport. Can anyone give advice? Thanks. -- Kevin Lee 2009-02-11 __

Re: [CMake] Choose Python version on OS X

2009-02-11 Thread Robert Haines
Maybe file a bug? Do you want to or shall I? Actually, it's more or less this one here: http://public.kitware.com/Bug/view.php?id=2257 Rob ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/

[CMake] Documenting boolean evaluation

2009-02-11 Thread Pau Garcia i Quiles
Hello, Back in June Dr. Ken Martin implemented parentheses in conditionals ( http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/14569 ) but I have not found that feature documented anywhere in 2.6.2. I would like to suggest this is documented in the IF command for 2.6.3. Thanks. --

Re: [CMake] "unit" testing your CMakeLists.txt

2009-02-11 Thread Mike Arthur
On Monday 09 February 2009 20:15:33 Tyler Roscoe wrote: > Does anyone do anything like this? Are there tools around to help? Is > this a worthwhile thing to think about? I think this shouldn't be separate from the rest of your other TDD stuff that the non-buildsystem developers are doing. In my

Re: [CMake] Choose Python version on OS X

2009-02-11 Thread Robert Haines
On 10 Feb 2009, at 20:59, Enrico Franchi wrote: I have python_select and python2.6 is selected. /opt/local/bin is before /usr/bin. However MESSAGE(${PYTHON_INCLUDE_PATH}) says: /System/Library/Frameworks/Python.framework/Headers Hmm, you're right. Just tested on mine and it gets it wrong

Re: [CMake] "unit" testing your CMakeLists.txt

2009-02-11 Thread Hugo Heden
2009/2/11 Tyler Roscoe : > Bumping this one time. Any thoughts? Is there a better place to ask this > sort of question? > Just wanted to say that I'm interested too, so I'd follow any discussion with interest. Best regards Hugo Heden > Thanks, > tyler > > On Mon, Feb 09, 2009 at 12:15:33PM -080