Re: [CMake] INSTALL TARGETS modifies files on some platforms.

2007-11-12 Thread Gonzalo Garramuño
Magnus Sirwiö wrote: Hi, I have notices strange behavior when using the INSTALL rule with the TARGETS signature as shown below: It is normal behavior. install strips and relinks your executables before install. This removes useless data like debugging symbols, making your executables

[CMake] How to redirect output (.o file generattion) in specific directory

2007-11-12 Thread Amit C. Kr. Saluja
Hi All, If anybody could guide me about, How to redirect .o files in user defined directory? I am setting CMAKE_CURRENT_SOURCE_DIR to ../obj but it is generating targets in ~/src/*.o Can anybody enlighten? Thanks regards amit __ Do You Yahoo!?

Re: [CMake] How to redirect output (.o file generattion) in specific directory

2007-11-12 Thread Eric Noulard
2007/11/12, Amit C. Kr. Saluja [EMAIL PROTECTED]: Hi All, If anybody could guide me about, How to redirect .o files in user defined directory? I am setting CMAKE_CURRENT_SOURCE_DIR to ../obj but it is generating targets in ~/src/*.o You cannot change CMAKE_CURRENT_SOURCE_DIR Can anybody

Re: [CMake] How to redirect output (.o file generattion) in specific directory

2007-11-12 Thread Amit C. Kr. Saluja
Eric, Thanks for this info! EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH These are global CMake variables. If we change it then the EXECUTABLE LIBRARY path of all the exe and libs changes but not for .os The.os are still generated in CMakeFiles/ directory. Can CMAKE_CURRENT_BINARY_DIR could

[CMake] gettext support and qtlinguist

2007-11-12 Thread Leopold Palomo-Avellaneda
Hi, someone knows if there's some module to support the gettext functions and pot generation? someone know know to generate the qm files from ts in a qt program using cmake or must I have to use custom target? Regards, Leo ___ CMake mailing list

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Gonzalo Garramuño
Leopold Palomo-Avellaneda wrote: Hi, someone knows if there's some module to support the gettext functions and pot generation? cmake2.5 (SVN) has a FindGettext.cmake. You can use the module with 2.4.7, too. -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT

[CMake] Link question

2007-11-12 Thread Xavier Larrode
Hi all, Is there a way in cmake to link (in linux) to a .so lib wich is not prefix by lib. So link to a lib without the -lmyLib Thanks begin:vcard fn;quoted-printable:Xavier Larrod=C3=A9 n;quoted-printable:Larrod=C3=A9;Xavier org:IRISA ;E119 Orange title:Projet GVT tel;work:+33 2 99 84 73 28

Re: [CMake] Link question

2007-11-12 Thread Pau Garcia i Quiles
Quoting Xavier Larrode [EMAIL PROTECTED]: Hi all, Is there a way in cmake to link (in linux) to a .so lib wich is not prefix by lib. So link to a lib without the -lmyLib Thanks Have you tried with SET_TARGET_PROPERTIES? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I

[CMake] Not getting the CXX/CC I requested with v 2.4.5

2007-11-12 Thread Pugmire, Dave
Hi, I'm experiencing some weirdness trying to configure on a cray. I do the following: env CXX=g++ CC=gcc ./bootstrap configure seems to report that it's using g++ to do the checks. However, when I do a make, it's using a different compiler. make [ 0%] Building CXX object

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Leopold Palomo-Avellaneda
A Dilluns 12 Novembre 2007, Gonzalo Garramuño va escriure: Leopold Palomo-Avellaneda wrote: Hi, someone knows if there's some module to support the gettext functions and pot generation? cmake2.5 (SVN) has a FindGettext.cmake. You can use the module with 2.4.7, too. cmake2.5 cvs, not

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Gonzalo Garramuño
Leopold Palomo-Avellaneda wrote: cmake2.5 cvs, not svn, no? Yes, right. and dou you know if someone is using it? an example? I've used it. It is pretty much self explanatory if you read the file. FIND_PACKAGE( Gettext ) GETTEXT_CREATE_TRANSLATIONS ( potFile [ALL] pofile1 ... pofileN

Re: [CMake] gettext support and qtlinguist

2007-11-12 Thread Leopold Palomo-Avellaneda
A Dilluns 12 Novembre 2007, Gonzalo Garramuño va escriure: Leopold Palomo-Avellaneda wrote: cmake2.5 cvs, not svn, no? Yes, right. and dou you know if someone is using it? an example? I've used it. It is pretty much self explanatory if you read the file. FIND_PACKAGE( Gettext )

Re: [CMake] CMAKE_SYSTEM_PROCESSOR question

2007-11-12 Thread Alexander Neundorf
On Friday 09 November 2007, Félix C. Morency wrote: Hi, I'm using ${CMAKE_SYSTEM_PROCESSOR} in my cmake configure script but when I call the script with CTest (ctest -S ...), it complains that this variable is empty. Is there any way to override this ? The variable from the cmake files are

Re: [CMake] Link question

2007-11-12 Thread Alexander Neundorf
On Monday 12 November 2007, Xavier Larrode wrote: Hi all, Is there a way in cmake to link (in linux) to a .so lib wich is not prefix by lib. So link to a lib without the -lmyLib To a library which is already installed on the system ? I think this doesn't work, the linker won't find the file

[CMake] Linking Libraries

2007-11-12 Thread abboti
I've created a project (Farsight) that has this top-level CMakeLists file (segment shown). The subdirs also have theirs. The cpp files in /seg use VTK libraries. I have found that the project compiles using MS Visual Studio, but not using g++. To get g++ to work I added this to the

Re: [CMake] Add include files

2007-11-12 Thread Alexander Neundorf
On Sunday 11 November 2007, Yinon Ehrlich wrote: Hi, * I'm new to CMake, trying to convert our existing GNU Makefiles to CMake. * I have a GCC compilation line that uses GCC's -include direction The argument to -include is a file which will be included, right ? (Instead of having multiple

Re: [CMake] Linking Libraries

2007-11-12 Thread Brandon Van Every
On Nov 12, 2007 12:32 PM, [EMAIL PROTECTED] wrote: I've created a project (Farsight) that has this top-level CMakeLists file (segment shown). The subdirs also have theirs. The cpp files in /seg use VTK libraries. I have found that the project compiles using MS Visual Studio, but not using

Re: [CMake] Windows Mobile II

2007-11-12 Thread Alexander Neundorf
On Monday 12 November 2007, Alexander Adam wrote: Hi, Not sure if this mail made it to the list so here's my try again -- Have you seen the posts from Artur Wisz, should have the subject cmake 2.5 with windows mobile ? I didn't get any more replies, so this is stuck somehow. You probably

Re: [CMake] Cmake on Leopard wtih Xcode2.5

2007-11-12 Thread Chris Garrett
Thats good info thank you, Chris On 11/11/07, Mike Jackson [EMAIL PROTECTED] wrote: Just adding some more information: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00690.html and also

Re: [CMake] Link question

2007-11-12 Thread Juan Sanchez
Alexander Neundorf wrote: On Monday 12 November 2007, Xavier Larrode wrote: Hi all, Is there a way in cmake to link (in linux) to a .so lib wich is not prefix by lib. So link to a lib without the -lmyLib To a library which is already installed on the system ? I think this doesn't work,

Re: [CMake] Not getting the CXX/CC I requested with v 2.4.5

2007-11-12 Thread Alan W. Irwin
On 2007-11-12 09:59-0500 Pugmire, Dave wrote: Hi, I'm experiencing some weirdness trying to configure on a cray. I do the following: env CXX=g++ CC=gcc ./bootstrap configure seems to report that it's using g++ to do the checks. However, when I do a make, it's using a different compiler. My

Re: [CMake] Not getting the CXX/CC I requested with v 2.4.5

2007-11-12 Thread Bill Hoffman
Alan W. Irwin wrote: On 2007-11-12 09:59-0500 Pugmire, Dave wrote: Hi, I'm experiencing some weirdness trying to configure on a cray. I do the following: env CXX=g++ CC=gcc ./bootstrap configure seems to report that it's using g++ to do the checks. However, when I do a make, it's using a

[CMake] Linking boost python with mingw

2007-11-12 Thread Christiaan Putter
Hi guys and girls, I'm new to this wonderful CMake thingy and I'm having some problems linking to boost.python. My setup on windows xp: mingw 5.1.3 (with gcc 3.4.5) boost1.34.1 python 2.5 I compiled boost as per instructions with mingw without any problems. With some

Re: [CMake] Linking boost python with mingw

2007-11-12 Thread Pau Garcia i Quiles
Quoting Christiaan Putter [EMAIL PROTECTED]: Are you using a mingw-compiled Python? In case you are using a VC++-compiled version of Python (which is the one you download from python.org), have you created import libraries for MinGW? Hi guys and girls, I'm new to this wonderful CMake

Re: [CMake] Linking boost python with mingw

2007-11-12 Thread Pau Garcia i Quiles
Quoting Christiaan Putter [EMAIL PROTECTED]: (Returning this to the mailing list, as you mistakenly replied to me in private) Hi Pau, Thanks for the swift reply. From the boost website page on building boost there's a section on Mingw, quoting: If you are using a version of Python prior

Re: [CMake] Linking boost python with mingw

2007-11-12 Thread Christiaan Putter
Thanks Pau, I'll build Python with mingw and give it a try. I'll let you guys know how that worked out... Have a nice evening. On 13/11/2007, Pau Garcia i Quiles [EMAIL PROTECTED] wrote: Quoting Christiaan Putter [EMAIL PROTECTED]: (Returning this to the mailing list, as you mistakenly