Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Phil Smith
Thanks; "the variable" -- what's it called? Yes, it's ALWAYS big endian. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Jackson Sent: Tuesday, July 29, 2008 6:15 PM To: Cmake Mailing List Subject: Re: [CMake] FW: cmake newbie questions What is actu

Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Mike Jackson
What is actually going on is that CMake is actually compiling and _running_ a small application to determine what endian type the machine is. I am guessing that the z/OS executable will not actually _run_ on your host system so it will give an error. If you know FOR SURE that z/OS will ALWA

Re: [CMake] FW: cmake newbie questions

2008-07-29 Thread Phil Smith
OK, more progress (I think). Now I get: --- cmake . -- Check if the system is big endian -- Searching 16 bit integer CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/TestBigEndian. cmake:31 (MESSAGE): no suitable type found Call Stack (most recent call f

Re: [CMake] Merging third-party modules upstream?

2008-07-29 Thread Alexander Neundorf
On Tuesday 29 July 2008, Mike Arthur wrote: > I've accumulated a fair amount of custom CMake modules, some written myself > and some from other open-source projects. > > Is it possible to get any of these merged with CMake? Yes. > If so, how would I/we go about doing this? I'm prepared to docume

Re: [CMake] custom command to create file #included in other file?

2008-07-29 Thread Markus Grabner
Am Dienstag 29 Juli 2008 schrieb Mike Jackson: > VTK does this all the time. You could try to take a look through the > vtk source and try to figure out what is going on. > > Also, >You could try: > > CONFIGURE_FILE(InputFile OutputFile > [COPYONLY] [ESCAPE_QUOTES] [E

Re: [CMake] custom command to create file #included in other file?

2008-07-29 Thread Mike Jackson
VTK does this all the time. You could try to take a look through the vtk source and try to figure out what is going on. Also, You could try: CONFIGURE_FILE(InputFile OutputFile [COPYONLY] [ESCAPE_QUOTES] [EMAIL PROTECTED]) So.. CONFIGURE_FILE(file1.h.in file1.h) CON

[CMake] custom command to create file #included in other file?

2008-07-29 Thread Markus Grabner
Hi! How can I write a custom command to create a source file which doesn't appear in the source file list of any target, but is included in another source file? Consider a file "file1.c", from which "file2.c" should be generated automatically whenever "file1.c" has been modified. H

Re: [CMake] FindImageMagick Updated in CVS

2008-07-29 Thread Miguel A. Figueroa-Villanueva
On Tue, Jul 29, 2008 at 5:51 AM, Philip Lowman wrote: > On Wed, Jul 23, 2008 at 3:06 AM, Miguel A. Figueroa-Villanueva > <[EMAIL PROTECTED]> wrote: >> >> On Sat, Jul 19, 2008 at 12:29 AM, Philip Lowman wrote: >> > On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva >> > <[EMAIL PROTECTED

Re: [CMake] What's the point for making component-specific directory for CPack?

2008-07-29 Thread Doug Gregor
On Tue, Jul 29, 2008 at 4:44 AM, Yuri Timenkov <[EMAIL PROTECTED]> wrote: > On Monday 28 July 2008 22:04:57 Doug Gregor wrote: >> On Mon, Jul 28, 2008 at 1:48 PM, Yuri Timenkov <[EMAIL PROTECTED]> > wrote: >> > On Monday 28 July 2008 21:16:25 Doug Gregor wrote: >> >> On Mon, Jul 28, 2008 at 12:45 P

Re: [CMake] shared libraries on windows

2008-07-29 Thread Yuri Timenkov
On Tuesday 29 July 2008 14:27:44 christian wrote: > Hello: > > I am starting with cmake in order to have my project running on both > linux and windows. > > In my project I create a library and several console tools linked with > this library. > > I would like to use shared libraries (.so in linux

[CMake] shared libraries on windows

2008-07-29 Thread christian
Hello: I am starting with cmake in order to have my project running on both linux and windows. In my project I create a library and several console tools linked with this library. I would like to use shared libraries (.so in linux and .dll in windows) In my CMakeLists.txt I have for the library

Re: [CMake] FindImageMagick Updated in CVS

2008-07-29 Thread Philip Lowman
On Wed, Jul 23, 2008 at 3:06 AM, Miguel A. Figueroa-Villanueva < [EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2008 at 12:29 AM, Philip Lowman wrote: > > On Sat, Jul 19, 2008 at 1:18 AM, Miguel A. Figueroa-Villanueva > > <[EMAIL PROTECTED]> wrote: > >> > >> On Fri, Jul 18, 2008 at 11:06 PM, Philip L

Re: [CMake] Making Relocatable Binaries (AIX, SunOS, HPUX testers wanted)

2008-07-29 Thread Mathieu Malaterre
If you do not have subversion on your system, you can get a tarball using for example wget: $ wget --no-check-certificate "https://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/RelocatableModule.tar.gz?view=tar"; Thanks, On Tue, Jul 29, 2008 at 11:46 AM, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: > Hi

[CMake] Making Relocatable Binaries (AIX, SunOS, HPUX testers wanted)

2008-07-29 Thread Mathieu Malaterre
Hi there, There is a pretty neat feature that comes within CMake: SharedForward.h.in. Basically it let you create a relocatable application (with a main function) on all system supported by CMake. The issue for me, is that it really rely on the main function and the argv param, which I do not

[CMake] Merging third-party modules upstream?

2008-07-29 Thread Mike Arthur
I've accumulated a fair amount of custom CMake modules, some written myself and some from other open-source projects. Is it possible to get any of these merged with CMake? If so, how would I/we go about doing this? I'm prepared to document/rewrite to better meet your conventions if necessary.

Re: [CMake] What's the point for making component-specific directory for CPack?

2008-07-29 Thread Yuri Timenkov
On Monday 28 July 2008 22:04:57 Doug Gregor wrote: > On Mon, Jul 28, 2008 at 1:48 PM, Yuri Timenkov <[EMAIL PROTECTED]> wrote: > > On Monday 28 July 2008 21:16:25 Doug Gregor wrote: > >> On Mon, Jul 28, 2008 at 12:45 PM, Yuri Timenkov > >> <[EMAIL PROTECTED]> > >> > >> > I suppose for RPM there co

Re: [CMake] Debug libraries

2008-07-29 Thread Yuri Timenkov
On Monday 28 July 2008 22:14:51 Leopold Palomo-Avellaneda wrote: > Hi, > > I'm not a windows user and now, sadly, I have to develop an application > with Visual Studio 2005. I'm porting an application that use OpenGL, > Coin3d, SoQt and Qt4.4. > > I have created the respective FindSoQt and FindCoin