Re: [CMake] cmake 2.6.3 RC 8

2009-01-14 Thread Mike Arthur
On Tuesday 13 January 2009 22:15:09 Bill Hoffman wrote: I have a release candidate (RC 8) for 2.6.3 ready for CMake. Great, thanks! Any chance you reckon my hdiutil cpack fix might make it into 2.6.3? -- Cheers, Mike Arthur http://mikearthur.co.uk/

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-14 Thread Michael Wild
On 13. Jan, 2009, at 15:17, Bartlett, Roscoe A wrote: In Trilinos, an MPI configured build creates all MPI executables (in some sense). Also, most Trilinos software is set up to automatically check to see if MPI is initialized or not and will run correctly in serial mode with MPI

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
On 13.01.09 19:06:13, Robert Dailey wrote: Trust me, I've read this already. It makes no sense to me. How am I supposed to know that any of the variables it is checking have been set? Not sure what you mean wit that. You can check for any cmake variable wether its set via if(variablename) And

Re: [CMake] GTK doesn't seem to be include correctly on Ubuntu 8.10

2009-01-14 Thread Philip Lowman
On Tue, Jan 13, 2009 at 2:57 PM, Pierrick Grasland pierrick.grasl...@gmail.com wrote: Hello, Sorry. I forgot to include gtkCallback in my mail. Actually, Gio/gfile doesn't seems to be corrupted. (It was proved, with a previous version of our program working perfectly) We nailed down a

Re: [CMake] [New Module] FindGTK2.cmake call for testing

2009-01-14 Thread Philip Lowman
On Sun, Jan 11, 2009 at 8:07 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Coming from a complete outsider is GTK like Qt in that GTK has a Core library then others built on top of that? If so you can default to looking for the Core library then use CMake variables such as GTK_USE_MM

Re: [CMake] CPack PackageMaker bug?

2009-01-14 Thread Bill Hoffman
Michael Jackson wrote: Another reason to have a Drag-and-Drop installation for CMake. I guess someone should file a bug for this. If you want to create one, and contribute it that would be great. -Bill ___ CMake mailing list CMake@cmake.org

[CMake] Passing environment variables in Windows

2009-01-14 Thread Leo Breebaart
I have created a CMake custom command that I use to invoke a pre-existing executable. Unfortunately, this executable also needs a custom environment variable in order to function correctly. Is there any way to set and pass on this environment variable to the executable in CMakeLists.txt, *on

[CMake] any plans for cmake book: mastering cmake 5th edition?

2009-01-14 Thread s-nageswara_rao
Hi, As you know, 4th edition of cmake book (Mastering cmake 4th edition) was available from Feb 2008. Approximately one year got completed to this date. Is there any plan for 5th edition of Mastering cmake book? If yes, when can it available from stores? Thanks. Best regards, Nagesh.

Re: [CMake] Passing environment variables in Windows

2009-01-14 Thread Mathieu Malaterre
On Wed, Jan 14, 2009 at 3:27 PM, Leo Breebaart l...@lspace.org wrote: I have created a CMake custom command that I use to invoke a pre-existing executable. Unfortunately, this executable also needs a custom environment variable in order to function correctly. Is there any way to set and pass

Re: [CMake] Passing environment variables in Windows

2009-01-14 Thread Bill Hoffman
Mathieu Malaterre wrote: variable can be an environment variable such as: set( ENV{PATH} /home/martink ) in which case the environment variable will be set. But if you want it to run at custom command time, you would have to do it as a cmake script. Currently there

Re: [CMake] Passing environment variables in Windows

2009-01-14 Thread Leo Breebaart
Bill Hoffman bill.hoff...@kitware.com writes: Mathieu Malaterre wrote: variable can be an environment variable such as: set( ENV{PATH} /home/martink ) in which case the environment variable will be set. Sorry, I probably should have mentioned it, but didn't

Re: [CMake] Passing environment variables in Windows

2009-01-14 Thread Bill Hoffman
Leo Breebaart wrote: Sorry, I probably should have mentioned it, but didn't want to clutter up my original mail with a list of all the things I tried that did not work. That was one of 'em. :-) But if you want it to run at custom command time, you would have to do it as a cmake script.

Re: [CMake] History and ideas behind FindMPI.cmake?

2009-01-14 Thread Bartlett, Roscoe A
Michael, You make good points. I will look into the Module you list below. Thanks, - Ross -Original Message- From: Michael Wild [mailto:them...@gmail.com] Sent: Wednesday, January 14, 2009 2:43 AM To: Bartlett, Roscoe A Cc: cmake@cmake.org Subject: Re: [CMake] History and

Re: [CMake] CPack PackageMaker bug?

2009-01-14 Thread Clinton Stimpson
Bill Hoffman wrote: Michael Jackson wrote: Another reason to have a Drag-and-Drop installation for CMake. I guess someone should file a bug for this. If you want to create one, and contribute it that would be great. -Bill I can make a patch and bug report. Should there be new

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Robert Dailey
On Wed, Jan 14, 2009 at 6:22 AM, Andreas Pakulat ap...@gmx.de wrote: On 13.01.09 19:06:13, Robert Dailey wrote: Trust me, I've read this already. It makes no sense to me. How am I supposed to know that any of the variables it is checking have been set? Not sure what you mean wit that. You

Re: [CMake] any plans for cmake book: mastering cmake 5th edition?

2009-01-14 Thread Bill Hoffman
s-nageswara_...@agilent.com wrote: Hi, As you know, 4th edition of cmake book (Mastering cmake 4th edition) was available from Feb 2008. Approximately one year got completed to this date. Is there any plan for 5th edition of Mastering cmake book? If yes, when can it available from stores?

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
On 14.01.09 12:33:35, Robert Dailey wrote: On Wed, Jan 14, 2009 at 6:22 AM, Andreas Pakulat ap...@gmx.de wrote: On 13.01.09 19:06:13, Robert Dailey wrote: Trust me, I've read this already. It makes no sense to me. How am I supposed to know that any of the variables it is checking have

Re: [CMake] CPack PackageMaker bug?

2009-01-14 Thread Michael Jackson
On Jan 14, 2009, at 1:27 PM, Clinton Stimpson wrote: Bill Hoffman wrote: Michael Jackson wrote: Another reason to have a Drag-and-Drop installation for CMake. I guess someone should file a bug for this. If you want to create one, and contribute it that would be great. -Bill I can

[CMake] Duplicate manifest error

2009-01-14 Thread Ted Berg
I have been tasked with converting an existing Visual Studio project 2008 to CMake 2.6.2. The stumbling block is that this project uses a precreated manifest file, which is included in an .rc file. When the target links I get the following error: CVTRES : fatal error CVT1100: duplicate

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Robert Dailey
On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat ap...@gmx.de wrote: If you look at the cmake docs, then you'll find out that nothing in there states that wildcards are allowed. Hence I'd assume that wildcards are not supported. Also you only need to set one of the two for find_path to use

[CMake] Compiling .rc file WITHOUT linking

2009-01-14 Thread Eric Lemings
Greetings, How do you compile a .rc file into a .res file without linking it into a library or executable? Thanks, Eric. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Andreas Pakulat
On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat ap...@gmx.de wrote: If you look at the cmake docs, then you'll find out that nothing in there states that wildcards are allowed. Hence I'd assume that wildcards are not supported. Also you only

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Miguel A. Figueroa-Villanueva
On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat wrote: On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat wrote: If you look at the cmake docs, then you'll find out that nothing in there states that wildcards are allowed. Hence I'd assume that

Re: [CMake] Duplicate manifest error

2009-01-14 Thread Philip Lowman
On Wed, Jan 14, 2009 at 3:12 PM, Ted Berg tb...@vivox.com wrote: I have been tasked with converting an existing Visual Studio project 2008 to CMake 2.6.2. The stumbling block is that this project uses a precreated manifest file, which is included in an .rc file. When the target links I get

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Robert Dailey
On Wed, Jan 14, 2009 at 4:20 PM, Miguel A. Figueroa-Villanueva migu...@ieee.org wrote: On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat wrote: On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at 1:20 PM, Andreas Pakulat wrote: If you look at the cmake docs, then you'll

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Robert Dailey
On Wed, Jan 14, 2009 at 9:51 PM, Robert Dailey rcdai...@gmail.com wrote: On Wed, Jan 14, 2009 at 4:20 PM, Miguel A. Figueroa-Villanueva migu...@ieee.org wrote: On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat wrote: On 14.01.09 15:45:53, Robert Dailey wrote: On Wed, Jan 14, 2009 at

Re: [CMake] Confusion on how find_package works.

2009-01-14 Thread Philip Lowman
On Wed, Jan 14, 2009 at 10:54 PM, Robert Dailey rcdai...@gmail.com wrote: On Wed, Jan 14, 2009 at 9:51 PM, Robert Dailey rcdai...@gmail.com wrote: On Wed, Jan 14, 2009 at 4:20 PM, Miguel A. Figueroa-Villanueva migu...@ieee.org wrote: On Wed, Jan 14, 2009 at 5:54 PM, Andreas Pakulat

[CMake] Having difficulty with find_library()

2009-01-14 Thread Robert Dailey
Hi, I'm creating a Find module for Intel's TBB library and I can't get find_library to work properly. It's just not finding the library. The path to the library in question is *tbb_rootdirectory/ai32/vc9/lib/tbb.lib* for the MSVC9 32-bit compiler. Am I doing something wrong? I've set the root

Re: [CMake] Having difficulty with find_library()

2009-01-14 Thread Michael Jackson
I would try the following just to make sure it will find the library: find_library(TBB_LIBRARY NAMES tbb PATHS tbb_rootdirectory/ai32/vc9/lib ) Substitute the proper full path for tbb_rootdirectory in the path above. Run CMake and see if the TBB_LIBRARY gets found.

Re: [CMake] Having difficulty with find_library()

2009-01-14 Thread Robert Dailey
On Wed, Jan 14, 2009 at 11:23 PM, Michael Jackson mike.jack...@bluequartz.net wrote: I would try the following just to make sure it will find the library: find_library(TBB_LIBRARY NAMES tbb PATHS tbb_rootdirectory/ai32/vc9/lib ) Substitute the proper full path for