RE: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Trevor Kellaway
Alan, > Just to clarify, have you implemented cmake cross-compiling > with changed and added module files alone or do you also need > C++ code changes? One large advantage of a pure module > approach is it would be much easier to get it into official CMake. Module file changes alone, and even

[CMake] begginer Q on generated headers with generated tool

2007-04-30 Thread Jesús López
Hi, Congrats for CMake, finally something I can understand speedy, instead of the autohell.. :-) Just a begginer's question if some find the time to it. I have a project that generates custom IDL to H compiler needed for building, I have a big include directoy full with common headers used by

Re: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Alexander Neundorf
Hi, On Sunday 29 April 2007 13:41, Bernhard Sputh wrote: > Trevor, > > thank You for the patches You attached. > > On Sunday 29 April 2007 18:00, Trevor Kellaway wrote: > > I was trying not to modify CMake source, given it nicely uses scripts > > that are easy to change, and more accessible to mos

Re: [CMake] begginer Q on generated headers with generated tool

2007-04-30 Thread Alexander Neundorf
On Monday 30 April 2007 08:48, Jesús López wrote: > Hi, > Congrats for CMake, finally something I can understand speedy, > instead of the autohell.. :-) > > Just a begginer's question if some find the time to it. > > I have a project that generates custom IDL to H compiler needed for > building, I

Re: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Alexander Neundorf
On Sunday 29 April 2007 13:04, Trevor Kellaway wrote: > [Repost as list won't accept large patch, only > cross-compiler-base-diff-against-2.4p6.diff included] In CMakeGenericSystem.cmake Platform/gcc.cmake is included unconditionally. Does this cause problems for you ? Alex

[CMake] [INSTALL] Add generated subdir to installation

2007-04-30 Thread Nikita V. Borodikhin
Hello, all! I want to have a build/install process like this: * 'all' builds all but documentation * 'doxydoc' builds source code documentation via doxygen * install installs both doxygened documentation and files built So I need to add 'doxydoc' to dependencies of 'install' target: ADD_CUSTOM_

Re: [CMake] begginer Q on generated headers with generated tool

2007-04-30 Thread Alan W. Irwin
On 2007-04-30 09:09-0400 Alexander Neundorf wrote: On Monday 30 April 2007 08:48, Jesús López wrote: Hi, Congrats for CMake, finally something I can understand speedy, instead of the autohell.. :-) Just a begginer's question if some find the time to it. I have a project that generates custom

[CMake] cmake and Visual Studio Express 8

2007-04-30 Thread Ralf Dünkelmann
Hallo All, I have the following: - a simple C++ - project that generates a library and a command line executable - the project will compile fine under Linux environment Now I want to use cmake for configuring this project under Windows using Visual Studio Express 8. After installing Visual

Re: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Bernhard Sputh
Hi Alexander, On Monday 30 April 2007 13:50, Alexander Neundorf wrote: > Yes, we'll do so (/me being a cmake developer for the next few months) :-) > I'm starting to add cross compiling support to cmake right now and will > reuse the patches in the next days. > The first step will be to let the u

RE: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Trevor Kellaway
Alex, > In CMakeGenericSystem.cmake Platform/gcc.cmake is included > unconditionally. > Does this cause problems for you ? No I don't have any problems. However, I didn't try to unstitch the existing gcc compiler support (feeling this would be a mammoth task), instead I just tried to fool CMak

Re: [CMake] Thoughts on Cross-compiling with CMake

2007-04-30 Thread Alexander Neundorf
On Monday 30 April 2007 12:51, Bernhard Sputh wrote: > Hi Alexander, ... > Thank You for working on this. I have another suggestion related to > cross-compilation. It should be possible to provide Compiler / Environment > scripts with ones project. These scripts could be located for instance in a >