Re: [CMake] FIND_XXX problem with symlinks when using ENV

2010-02-22 Thread Marcel Loose
On Sun, 2010-02-21 at 16:37 +0100, Alexander Neundorf wrote: On Friday 19 February 2010, Marcel Loose wrote: Hi all, I've noticed a problematic behaviour with the FIND_XXX macros when using ENV in either PATHS or HINTS: symbolic links get converted to the real paths. This happens with

Re: [CMake] overriding CMAKE_MODULE_PATH list

2010-02-22 Thread Michael Wild
On 21. Feb, 2010, at 18:53 , Luigi Calori wrote: Alexander Neundorf wrote: On Friday 19 February 2010, Luigi Calori wrote: I would like to have some clarification about module and include effective search order: I am in the following situation: I use (configure) a project that is

Re: [CMake] Support for languages without linking phase etc

2010-02-22 Thread Michael Wild
On 20. Feb, 2010, at 19:30 , David Cole wrote: On Fri, Feb 19, 2010 at 8:57 PM, Ivan Chernetsky ivan.chernet...@gmail.comwrote: Hi there! I've written almost all the .cmake files required to add Erlang support, but when I was approaching completion, I realized--to be honest, got

Re: [CMake] nmake build with different options at command line

2010-02-22 Thread Chauhan, Vikas
Thanks, I understand it now. Vikas From: David Cole [mailto:david.c...@kitware.com] Sent: 19 February 2010 18:12 To: Chauhan, Vikas Cc: Tyler Roscoe; cmake@cmake.org; Bill Hoffman Subject: Re: [CMake] nmake build with different options at command line

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Brad King
Arjen Markus wrote: On Thu, 18 Feb 2010 16:21:33 -0800 (PST) Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: I have a lot more CMake-2.8.1-RC3 testing to do myself ... I have come across a nasty little error: Under Cygwin it turns out that CMake 2.8.1rc3 is not recognising gfortran, but

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Arjen Markus
Hi Brad, I will need to check that - PLplot does/did have a file CMakeFortranInformation.cmake, maybe that is the culprit. I will try your minimal project myself, hopefully that will give the same result, otherwise we will have a mystery at our hands. Regards, Arjen On 2010-02-22 14:35,

[CMake] Regular Expression to filter out C/C++ Comments

2010-02-22 Thread Andreas Lubensky
Hello, i'm having some trouble building a regular expression to filter out C and C++ style comments (//... /*...*/). I constructed various regular expressions and also tried some i found on the web. But as soon as they are getting more sophisticated (e.g. being able to cope with additional *

[CMake] BundleUtilities problem

2010-02-22 Thread Michael Wild
Hi all I'm using CMake-2.8.0 and have the following problem when trying to deploy a Qt application (ParaView) on Mac OS X using the BundleUtilities: When using the binary Qt installer, libQtCLucene.dylib is unfortunately installed into /usr/lib, which makes get_prerequisites() (actually, the

Re: [CMake] Regular Expression to filter out C/C++ Comments

2010-02-22 Thread Tyler Roscoe
On Mon, Feb 22, 2010 at 04:28:54PM +0100, Andreas Lubensky wrote: i'm having some trouble building a regular expression to filter out C and C++ style comments (//... /*...*/). I constructed various regular ((/\\*([^\\*]|(\\*+([^\\*/])))*\\*+/)|(//[^\r\n]*)) I don't think RE are the right

Re: [CMake] Missing Software\Microsoft\VisualStudio\8.0\vsmacros\OtherProjects7

2010-02-22 Thread Philip Lowman
I have visual studio 8 sp1 installed and have keys in HKCU/Software/Microsoft/VisualStudio/8.0/vsmacros/OtherProjects7 On Feb 22, 2010 10:32 AM, Wheeler, Frederick W (GE, Research) whee...@ge.com wrote: I did an uninstall/reinstall and have some more info on this problem. From: David Cole

Re: [CMake] Missing Software\Microsoft\VisualStudio\8.0\vsmacros\OtherProjects7

2010-02-22 Thread David Cole
Sorry to hear about these troubles, Fred, but it seems like this must be fairly unique to your machine for some reason. I've literally never heard anybody else report this error message before. Where did your SP1 installer come from? This output is safe to ignore, if you like. Or, you can make

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread James Bigler
On Fri, Feb 19, 2010 at 6:46 AM, Brad King brad.k...@kitware.com wrote: On 2/18/2010 4:35 PM, Ben Medina wrote: However, with VS2010, CMake is re-run in the middle of the build. Did this work in CMake 2.8.0? I tried some test cases that seem similar to yours but I was unable to reproduce

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Alan W. Irwin
On 2010-02-22 08:35-0500 Brad King wrote: Are you using a modified CMakeDetermineFortranCompiler.cmake in your own CMAKE_MODULE_PATH? Hi Brad: I am probably the best person to answer that question. Here is how I currently implement CMAKE_MODULE_PATH in our svn trunk version of PLplot.

Re: [CMake] Missing Software\Microsoft\VisualStudio\8.0\vsmacros\OtherProjects7

2010-02-22 Thread Wheeler, Frederick W (GE, Research)
Thanks for all the advice and insight. I think I'll play this slow and watch for other problems over time that might be helpful clues. I also have another identical machine, on which I might also install VS. My SP1 installer came from a local shared drive. I've used it from there for a

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-22 Thread Eric Noulard
2010/2/22 Robert Knapke knapke...@gmail.com: Eric, I looked online at the two websites you gave me, but they dont seem to have rpms for the linux builds that I am sending to. I am using Suse 11.x. The people who are currently trying to install the program have Redhat. This may not work as

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-22 Thread Robert Knapke
Eric, I looked online at the two websites you gave me, but they dont seem to have rpms for the linux builds that I am sending to. I am using Suse 11.x. The people who are currently trying to install the program have Redhat. If I made an rpm of the boost python library, would it work on their

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Alan W. Irwin
On 2010-02-22 08:35-0500 Brad King wrote: I cannot reproduce this. I have a simple project: # CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(Foo Fortran) I don't have access to Cygwin myself, but as a convenience for more Cygwin testing by you and Arjen, I put together a

[CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Brad King
Hi Folks, Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. It will enhance our process for accepting patches and help give credit to all contributors. We've chosen Git to implement this move. Details appear

Re: [CMake] CMake has moved to Git!

2010-02-22 Thread Brad King
Brad King wrote: Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. It will enhance our process for accepting patches and help give credit to all contributors. For those following or contributing to the CDash

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Alexander Neundorf
On Monday 22 February 2010, Brad King wrote: Hi Folks, Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. cvs diff still works here. How long will this still be available (read-only I guess) so that I don't

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Brad King
Alexander Neundorf wrote: On Monday 22 February 2010, Brad King wrote: Hi Folks, Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. cvs diff still works here. How long will this still be available (read-only

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Brad King
Marcus D. Hanwell wrote: How long is the rebase only, linear history policy likely to remain? Currently this is undetermined. We wanted to get the conversion done with minimal change in workflow for now. Once we've settled in to using pure Git we can consider more advanced usage. -Brad

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Michael Jackson
Not associated with the author but I did find the following book/site very useful when I switched to Git. http://progit.org/book/ The book is open source, Ie, you can download a pdf of the book and all the sources to the book are up on github. Hope it helps someone..

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Michael Wild
On 22. Feb, 2010, at 19:46 , Brad King wrote: Hi Folks, Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. It will enhance our process for accepting patches and help give credit to all contributors. We've

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Marcus D. Hanwell
On Monday 22 February 2010 13:46:18 Brad King wrote: Hi Folks, Kitware has moved to distributed version control for CMake in order to better engage our growing community of developers and users. It will enhance our process for accepting patches and help give credit to all contributors.

Re: [CMake] [ANNOUNCE] CMake has moved to Git!

2010-02-22 Thread Brad King
Michael Jackson wrote: Not associated with the author but I did find the following book/site very useful when I switched to Git. http://progit.org/book/ The book is open source, Ie, you can download a pdf of the book and all the sources to the book are up on github. There is now a link

Re: [CMake] Using CPack to include shared libraries in rpms

2010-02-22 Thread Robert Knapke
Eric, Could I have the user download and install only the boost python libraries or will the rpm not see those as fullfilling the dependency? I realize I have gone a bit off topic for the CMake list, but this may be useful for others building on linux. Also, thanks to everyone who is helping

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Brad King
On 2/22/2010 1:12 PM, Alan W. Irwin wrote: I don't have access to Cygwin myself, but as a convenience for more Cygwin testing by you and Arjen, I put together a simple test project that detects Fortran identically to how it is done in PLplot Thanks. I still get this: -- The Fortran

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Arjen Markus
On Mon, 22 Feb 2010 10:12:12 -0800 (PST) Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-02-22 08:35-0500 Brad King wrote: I cannot reproduce this. I have a simple project: # CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(Foo Fortran) I don't have access to Cygwin

Re: [CMake] CMake 2.8.1 RC 3 is ready to try

2010-02-22 Thread Arjen Markus
On Mon, 22 Feb 2010 14:28:05 -0500 Brad King brad.k...@kitware.com wrote: On 2/22/2010 1:12 PM, Alan W. Irwin wrote: I don't have access to Cygwin myself, but as a convenience for more Cygwin testing by you and Arjen, I put together a simple test project that detects Fortran identically to

[CMake] how to find out the compiler ID of a compiler which doesn't link

2010-02-22 Thread Alexander Neundorf
Hi, it seems the IAR C/C++ compiler for AVR cannot generate executables, but only object files, and the linker has to be called explcitely on the generated object files: ftp://ftp.iar.se/WWWfiles/avr32/guides/ocavr32.pdf Which says: iccavr32 myfile.c xlink myfile.r82 -s __program_start -f

Re: [CMake] how to find out the compiler ID of a compiler which doesn't link

2010-02-22 Thread Brad King
Alexander Neundorf wrote: Hi, it seems the IAR C/C++ compiler for AVR cannot generate executables, but only object files, and the linker has to be called explcitely on the generated object files: ftp://ftp.iar.se/WWWfiles/avr32/guides/ocavr32.pdf Which says: iccavr32 myfile.c xlink

Re: [CMake] Regular Expression to filter out C/C++ Comments

2010-02-22 Thread Andreas Lubensky
Am Montag, 22. Februar 2010 17:29:08 schrieben Sie: On Mon, Feb 22, 2010 at 04:28:54PM +0100, Andreas Lubensky wrote: i'm having some trouble building a regular expression to filter out C and C++ style comments (//... /*...*/). I constructed various regular

Re: [CMake] Regular Expression to filter out C/C++ Comments

2010-02-22 Thread Bill Hoffman
Andreas Lubensky wrote: CMake just seg faulting seems pretty bad. Might it be a bug after all? The crash is most likely due to stack overflow. The RE code in CMake uses recursion and you can construct expressions that will kill the stack... -Bill