[CMake] Cross Compiling

2010-01-04 Thread Daniel Stonier
The more I use cmake, the more I find it difficult to bend in to shape to cross compile. The original design doesn't seem to be designed for anything more than windows-linux or linux-windows cross compiles. Some things I'm having to currently work around by creating my own cross-compiling set of

Re: [CMake] Cross Compiling

2010-01-04 Thread David Cole
Are you following the directions here? http://www.cmake.org/Wiki/CMake_Cross_Compiling Or trying to cross compile some other way...? On Mon, Jan 4, 2010 at 3:00 AM, Daniel Stonier d.ston...@gmail.com wrote: The more I use cmake, the more I find it difficult to bend in to shape to cross

Re: [CMake] Cross Compiling

2010-01-04 Thread Daniel Stonier
2010/1/4 David Cole david.c...@kitware.com Are you following the directions here? http://www.cmake.org/Wiki/CMake_Cross_Compiling Or trying to cross compile some other way...? Yes, that's where I got started - been using that for quite a while. Just noticed some loose ends recently. Note -

Re: [CMake] [BUG] cmake-2.8.0, Unix Makefiles generator creates incorrect module dependency for Fortran 95 if there is an embedded blank in the directory name

2010-01-04 Thread Brad King
Alan W. Irwin wrote: Hi Brad and Alin: Here is an example of the bug: cat CMakeFiles/x02f95.dir/depend.make # CMAKE generated file: DO NOT EDIT! # Generated by Unix Makefiles Generator, CMake Version 2.8 f95/CMakeFiles/x02f95.dir/x02f.f90.o: /home/software/plplot

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

2010-01-04 Thread Michael Wild
On 8. Jan, 2009, at 9:54 , Philip Lowman wrote: If you use GTK2 in any of your projects and have time, please test this CMake module and post any issues to this thread. I intend to check it into CMake and support it. Tested systems: Ubuntu 8.10 Windows/MSVC (official gtkmm

[CMake] Unknown CMake command UNSET.

2010-01-04 Thread Aaron_Wright
I'm not trying to do anything too fancy, just trying to call: UNSET(variable CACHE) It works with MSVC, but in linux I get: Unknown CMake command UNSET. Am I missing something? Linux is version 2.6.2, and MSVC is 2.6.4. I'm asking first because I don't want to update the linux version, as

[CMake] Python Extension recipe for CMake

2010-01-04 Thread Guilherme Balena Versiani
Hello all, I got stuck while integrating CMake in Ohcount project (patches not fully approved yet, but you can see it here http://github.com/balena/ohcount). My objective was to create a Python Extension from a SWIG-generated source file in a multi-platform fashion. To accomplish this, I

Re: [CMake] Cross Compiling

2010-01-04 Thread Alexander Neundorf
On Monday 04 January 2010, Daniel Stonier wrote: 2010/1/4 David Cole david.c...@kitware.com Are you following the directions here? http://www.cmake.org/Wiki/CMake_Cross_Compiling Or trying to cross compile some other way...? Yes, that's where I got started - been using that for

Re: [CMake] Cross Compiling

2010-01-04 Thread Alexander Neundorf
Hi, On Monday 04 January 2010, Daniel Stonier wrote: The more I use cmake, the more I find it difficult to bend in to shape to cross compile. The original design doesn't seem to be designed for anything more than windows-linux or linux-windows cross compiles. No. It is tested for * x86 Linux

Re: [CMake] Unknown CMake command UNSET.

2010-01-04 Thread Alexander Neundorf
On Monday 04 January 2010, aaron_wri...@selinc.com wrote: I'm not trying to do anything too fancy, just trying to call: UNSET(variable CACHE) It works with MSVC, but in linux I get: Unknown CMake command UNSET. Am I missing something? Linux is version 2.6.2, and MSVC is 2.6.4. I'm

Re: [CMake] mingw crosscompile error: invalid option `macosx-version-min=10.5' ?

2010-01-04 Thread Alexander Neundorf
On Sunday 03 January 2010, Claus Klein wrote: I have problems to crosscompile on MAC-OS for MinGW. How kann I prevent this strange compiler flag on a Darwin Plattform? Thanks Claus - cmake -DCMAKE_C_COMPILER=i386-mingw32-gcc

Re: [CMake] Unknown CMake command UNSET.

2010-01-04 Thread Aaron_Wright
I didn't mean to imply that CMake itself was a pain to build or use on linux. I work in a pretty controlled environment that needs to be reproducible. I use debootstrap to create this environment, thus, everything is a nice little deb package. The destro is hardy, which is a little old, and so

Re: [CMake] Cross Compiling

2010-01-04 Thread Phil Smith
We're happily cross-compiling for System z (z/OS on IBM mainframe) using the Dignus cross-compiler under Windows. This is extra fun because it's a two-stage compiler (C/C++ to assembler, assembler to object). It's all working fine; the hard parts were: - creating the .cmake files needed (they

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

2010-01-04 Thread Philip Lowman
On Mon, Jan 4, 2010 at 10:48 AM, Michael Wild them...@gmail.com wrote: On 8. Jan, 2009, at 9:54 , Philip Lowman wrote: If you use GTK2 in any of your projects and have time, please test this CMake module and post any issues to this thread.  I intend to check it into CMake and support it.

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

2010-01-04 Thread Michael Wild
On 5. Jan, 2010, at 5:23 , Philip Lowman wrote: On Mon, Jan 4, 2010 at 10:48 AM, Michael Wild them...@gmail.com wrote: On 8. Jan, 2009, at 9:54 , Philip Lowman wrote: If you use GTK2 in any of your projects and have time, please test this CMake module and post any issues to this thread. I