Re: [CMake] CMake and XCode 3 debugger

2009-02-06 Thread E. Wing
I just got back to using CMake again for a project. I am using 2.6.2 and Xcode 3.1.2 (everything current as of today). Using the Xcode generator, the generated project seems to be ignoring all my breakpoints in the Xcode debugger. This problem severely limits the usefulness of CMake for me in this

Re: [CMake] Unix make files and CMAKE_EXE_LINKER_FLAGS_RELEASE

2009-02-06 Thread Philip Lowman
On Fri, Feb 6, 2009 at 7:48 PM, Neal Meyer wrote: > I have something like the following in my CMakeLists file. > > set( CMAKE_EXE_LINKER_FLAGS_DEBUG "-lboost_regex-xgcc40-mt-d" ) > set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-lboost_regex-xgcc40-mt" ) > > and then a exe that needs this library to link

Re: [CMake] Cdash errors

2009-02-06 Thread Bill Hoffman
Bartlett, Roscoe A wrote: Someone else up the Cdash dashboard on our web sever and that person is long gone now. How close are we to getting a basic version of the new system up that you have been working on? If it is not long, we can just start from scratch. Starting from scratch sounds a

[CMake] Unix make files and CMAKE_EXE_LINKER_FLAGS_RELEASE

2009-02-06 Thread Neal Meyer
I have something like the following in my CMakeLists file. set( CMAKE_EXE_LINKER_FLAGS_DEBUG "-lboost_regex-xgcc40-mt-d" ) set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-lboost_regex-xgcc40-mt" ) and then a exe that needs this library to link However the makefile doesn't actually add this option in

Re: [CMake] setting CMAKE_C_COMPILER

2009-02-06 Thread Bill O'Hara
Thanks - that got me part of the way there and then set(CMAKE_C_LINK_EXECUTABLE "${PURIFYCOMMAND} ${CMAKE_C_LINK_EXECUTABLE}") for the link step. thanks again b. On Fri, Feb 6, 2009 at 4:09 PM, Naram Qashat wrote: > Bill O'Hara wrote: > >> In my top-level CMakeLists.txt I'm trying to fiddle wi

[CMake] Visual Studio project generation strangeness

2009-02-06 Thread James Bigler
CMake 2.3.6R11 VS 2005 (v. 8) WinXP 64 I have a rather complicated project and when I first generate it the project looks something like this: ... After I run a build the projects look something like this: Differences are highlighti

Re: [CMake] setting CMAKE_C_COMPILER

2009-02-06 Thread Naram Qashat
Bill O'Hara wrote: In my top-level CMakeLists.txt I'm trying to fiddle with the CMAKE_C_COMPILER when certain CMAKE_BUILD_TYPEs are set. In particular if the build type is purify then I'm trying to do this: set(CMAKE_C_COMPILER "${PURIFYCOMMAND} ${CMAKE_C_COMPILER}") The problem is that the r

[CMake] setting CMAKE_C_COMPILER

2009-02-06 Thread Bill O'Hara
In my top-level CMakeLists.txt I'm trying to fiddle with the CMAKE_C_COMPILER when certain CMAKE_BUILD_TYPEs are set. In particular if the build type is purify then I'm trying to do this: set(CMAKE_C_COMPILER "${PURIFYCOMMAND} ${CMAKE_C_COMPILER}") The problem is that the resulting attempt to com

[CMake] find_package on windows also considering unix paths?

2009-02-06 Thread Andreas Pakulat
Hi, it seems that find_package in config-mode also searches unix-like paths in CMAKE_PREFIX_PATH. So if I put myprojectConfig.cmake into /lib/cmake/ its still found, even if installing on windows. Is this intentional? If so, it should be documented, currently the documentation seems to be indicat

[CMake] qt4_automoc

2009-02-06 Thread Roman Shtylman
Small modification to the FindQt4.cmake module to allow the use of .hpp extension header files and not just .h header files. Currently, it requires .h and I often use .hpp and still want to use automoc. This small patch is a quick hack to let you use .hpp instead. ~Roman 1285c1285,1291 <

Re: [CMake] Cdash errors

2009-02-06 Thread Bartlett, Roscoe A
Someone else up the Cdash dashboard on our web sever and that person is long gone now. How close are we to getting a basic version of the new system up that you have been working on? If it is not long, we can just start from scratch. Thanks, - ross > -Original Message- > From: Bill H

Re: [CMake] Cdash errors

2009-02-06 Thread David Cole
Have you tried repairing the table with phpmyadmin? (Or your MySQL admin tool of choice...?) In phpmyadmin, when you are looking at the list of tables in a database, you can click the checkbox next to the table name and then choose "Repair table" from the combo box at the bottom... b2g would be th

Re: [CMake] Cdash errors

2009-02-06 Thread Bill Hoffman
Bartlett, Roscoe A wrote: Hello, Our Cdash dashboard is not working and at the top of the HTML page that gets generated it says: "Table 'b2g' is marked as crashed and should be repaired" Do anyone know what this means and how to repair the table? I Goggled this and only found this email:

[CMake] Cdash errors

2009-02-06 Thread Bartlett, Roscoe A
Hello, Our Cdash dashboard is not working and at the top of the HTML page that gets generated it says: "Table 'b2g' is marked as crashed and should be repaired" Do anyone know what this means and how to repair the table? I Goggled this and only found this email: http://public.kitware.co

Re: [CMake] FIND_PROGRAM() behavior

2009-02-06 Thread Bill Spotz
No. /sw/bin/python is a symlink to /sw/bin/python2.5, which is an executable. The /sw directory is where, on Darwin, the fink project installs software (debian-style) by default. On Feb 6, 2009, at 12:54 PM, David Cole wrote: Is /sw/bin/python a symlink to /usr/bin/python? On Fri, Feb 6

Re: [CMake] FIND_PROGRAM() behavior

2009-02-06 Thread David Cole
Is /sw/bin/python a symlink to /usr/bin/python? On Fri, Feb 6, 2009 at 12:39 PM, Bill Spotz wrote: > Hello, > > Because FIND_PACKAGE(PythonInterp) wasn't behaving exactly the way I > wanted it to, I was playing around with the following (at the very > beginning of my CMakeLists.txt file): > >

[CMake] FIND_PROGRAM() behavior

2009-02-06 Thread Bill Spotz
Hello, Because FIND_PACKAGE(PythonInterp) wasn't behaving exactly the way I wanted it to, I was playing around with the following (at the very beginning of my CMakeLists.txt file): FIND_PROGRAM(PYTHON_EXECUTABLE python) MESSAGE("PYTHON_EXECUTABLE is " ${PYTHON_EXECUTABLE}) FIND_PROGRAM(SWI

Re: [CMake] visual studio project settings

2009-02-06 Thread James Bigler
On Fri, Jun 20, 2008 at 8:04 AM, Bill Hoffman wrote: > I just discovered that VS 2005 and greater have some per target > configuration files that might be interesting for CMake to create. > > Next to each .vcproj file is a .vcproj.CORRIN.hoffman.user file, where > CORRIN is the name of the machine

Re: [CMake] CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) and cmake_policy(VERSION 2.6.0) not working correctly for 2.6.2

2009-02-06 Thread Alan W. Irwin
On 2009-02-06 08:19-0500 Brad King wrote: Alan W. Irwin wrote: CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) is used? If a policy is undefined as for CMP0008 and CMP0009 for 2.6.2 what does that mean? Is that the same as OLD (or NEW) or does the policy implementation have buggy/unknown

Re: [CMake] CPack: Adding a file to package_source target

2009-02-06 Thread Adolfo Rodríguez
After messing around with the issue, I have -almost- succeeded in accomplishing what I wanted. Right now, I'm installing the top-level CMakeLists.txt file by setting: set(CPACK_INSTALL_COMMANDS "${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/CMakeLists.txt {CMAKE_BINARY_DIR}/_CPack_Packages/Linux-So

Re: [CMake] cmake 2.6.3 RC 11

2009-02-06 Thread Brad King
Alexander Neundorf wrote: On Thursday 05 February 2009, Bill Hoffman wrote: I have a release candidate (RC 11) 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.

Re: [CMake] CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) and cmake_policy(VERSION 2.6.0) not working correctly for 2.6.2

2009-02-06 Thread Brad King
Alan W. Irwin wrote: On 2009-02-01 09:03-0800 Alan W. Irwin wrote: According to the documentation of 2.6.2, policies CMP0008 and CMP0009 were introduced after 2.6.0. Also, according to that documentation, cmake_policy(VERSION 2.6.0) should set those policies to OLD and warn about that. I us

Re: [CMake] JWASM support

2009-02-06 Thread Dmitry Bely
On Tue, Feb 3, 2009 at 11:22 PM, Alexander Neundorf wrote: > On Tuesday 03 February 2009, Hendrik Sattler wrote: >> Dmitry Bely schrieb: >> >> If you use a toolchain file because you are cross-compiling, then you do >> >> not have this problem. >> > >> > I would like to use the same CMakeLists.txt

Re: [CMake] cmake 2.6.3 RC 11

2009-02-06 Thread Alexander Neundorf
On Thursday 05 February 2009, Bill Hoffman wrote: > I have a release candidate (RC 11) 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. I'm running it righ

Re: [CMake] Generating test executables with make test

2009-02-06 Thread Adolfo Rodríguez
Greetings, I'll stir the pot a little bit more in this subject, since I may not have explained myself clearly last time, and I haven't been able to solve it by my own means. I apologize for the extra noise ;) So, restating: I want the "test" target (and not "all", nor any other target) to build my