RE: [CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Torsten Martinsen
Bill Hoffman wrote: > Torsten Martinsen wrote: >> Could we please get the patch for bug 3218 into this release? >> > > I am not sure. The last time I applied that patch or a similar one > lots of tests failed and there was trouble so I had to undo it. I > don't think i

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Jesper Eskilson
Olumide wrote: Bill Hoffman wrote: I'm trying to generate a Unix style (or NMake) Makefile that I can use to port my visual studio project to eclipse. I've tried running cmake on the project directory with the -G"Unix Makefiles" and -G"NMake Makefiles" option, but its not working -- I'm gettin

Re: [CMake] CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS available in version X?

2007-12-05 Thread Philip Lowman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Bigler wrote: > On Nov 27, 2007, at 3:14 PM, Filipe Sousa wrote: > >> James Bigler wrote: >>> I just noticed this Wiki entry. What version of CMake was this >>> introduced in? It's not mentioned in any of the help files, so I >>> can't track w

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Olumide
Bill Hoffman wrote: I'm trying to generate a Unix style (or NMake) Makefile that I can use to port my visual studio project to eclipse. I've tried running cmake on the project directory with the -G"Unix Makefiles" and -G"NMake Makefiles" option, but its not working -- I'm getting lots of errors

Re: [CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Bill Hoffman
Torsten Martinsen wrote: Could we please get the patch for bug 3218 into this release? I am not sure. The last time I applied that patch or a similar one lots of tests failed and there was trouble so I had to undo it. I don't think it is stable enough for 2.4.8 which is meant to be a minor

[CMake] escaping!

2007-12-05 Thread Javier Gonzalez
Hi all, Is it possible to have a command like this? ADD_CUSTOM_COMMAND(OUTPUT ${my_file} ... COMMAND find . -name "*xml" > /dev/null ... VERBATIM ) I managed to get it working without the verbatim option but now I added other things and it became a nightmare. I'm trying the verbatim op

RE: [CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Torsten Martinsen
Could we please get the patch for bug 3218 into this release? -Torsten From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Bill Hoffman [EMAIL PROTECTED] Sent: 05 December 2007 23:13 To: cmake@cmake.org Subject: [CMake] cmake 2.4.8 RC 4 I have a beta r

Re: [CMake] Converting a qmake project to cmake

2007-12-05 Thread Leopold Palomo Avellaneda
A Dimecres 05 Desembre 2007, Mike Jackson va escriure: > You will eventually get an error. Only put files in the list that > _need_ to be treated with moc. I guess this is one area where qmake > may win out over cmake..? ok, :-( thanks, best regards, Leo -- -- Linux User 152692 PGP: 0xF94480

[CMake] cmake 2.4.8 RC 4

2007-12-05 Thread Bill Hoffman
I have a beta release for 2.4.8 ready for cmake. This will be the last release of the 2.4.X branch. The next release will be 2.6.0. So, please make sure you test it if you are interested in a 2.4.8. Send any issues to me or the cmake list. Thanks. The files can be found here: http://www.

Re: [CMake] Converting a qmake project to cmake

2007-12-05 Thread Mike Jackson
You will eventually get an error. Only put files in the list that _need_ to be treated with moc. I guess this is one area where qmake may win out over cmake..? -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Dec 5, 2007, at 5:00 PM, Leopold Palomo Av

Re: [CMake] Converting a qmake project to cmake

2007-12-05 Thread Leopold Palomo Avellaneda
Hi Mike, thanks. But, A Dimecres 05 Desembre 2007, Mike Jackson va escriure: [...] > > # another list, this time it includes all header files that should > # be treated with moc what's happens if you put a file here that _doesn't_ need to be treated with moc. That's my problem. With qmake you

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Bill Hoffman
Olumide wrote: Olumide wrote: I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. I'm trying to generate a Unix style (or NMake) Mak

Re: [CMake] CMake cannot build a simple example on one of our computers

2007-12-05 Thread Brandon Van Every
On Dec 5, 2007 3:50 PM, Marcus <[EMAIL PROTECTED]> wrote: > > I have built CMake from source using Visual Studio 2005. Since CMake > would not run on the problematic machine, I had to generate the CMake > project files on another computer first. You cannot, in principle, move CMake generated buil

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Olumide
Olumide wrote: I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. I'm trying to generate a Unix style (or NMake) Makefile that I can

Re: [CMake] CMake cannot build a simple example on one of our computers

2007-12-05 Thread Marcus
CMake will not configure on one of our development machines. When I run CMake on this machine, it initially it says: -- Check for working C compiler: cl Then it crunches for about 15 minutes, and eventually displays the message: -- Check for working C compiler: cl - broken CMake Err

Re: [CMake] SET_TARGET_PROPERTIES question on MacOSX

2007-12-05 Thread Félix C. Morency
Mike, Thank again for your answers. I checked your tool and it seems to work great here. I will add some more features (QT4 sublibs) to it and send you the patch asap. I will follow your advices and concentrate my efforts on making my bundle "the good way". Regards, Félix C. Morency On Dec 4, 2

Re: [CMake] Windows ifort problems, possible bug

2007-12-05 Thread Bill Hoffman
Alan W. Irwin wrote: On 2007-12-05 08:09- Alin M Elena wrote: Hi Bill, That was the problem. Even if in the shell (PowerShell) I had a touch available loaded through the profile script cmake wanted a proper one. Fixed it now and nmake build is ok. Bill, if you are concerned about this de

RE: [CMake] Windows ifort problems, possible bug

2007-12-05 Thread Alan W. Irwin
On 2007-12-05 08:09- Alin M Elena wrote: Hi Bill, That was the problem. Even if in the shell (PowerShell) I had a touch available loaded through the profile script cmake wanted a proper one. Fixed it now and nmake build is ok. Bill, if you are concerned about this dependency on touch, one

Re: [CMake] Converting a qmake project to cmake

2007-12-05 Thread Mike Jackson
Take a look at: Specifically, look for this section: # another list, this time it includes all header files that should # be treated with moc SET( QMXAVIEWER_MOC_HDRS ${MXAViewer_SOURCE_DIR}/QMXADat

[CMake] Converting a qmake project to cmake

2007-12-05 Thread Leopold Palomo-Avellaneda
Hi, I'm trying to convert a qmake project to cmake. I have tested several tools, but, I have realised that by hand is more or less the best way. I edit the .pro file to obtain the files and create the cmake. However there's a think that is problematic is that I have a list in the HEADERS part o

Re: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Sylvain Benner
Here is a missing function body added to cmMakeFile. I would be glad to hear from the CMake makers of any issues using this hack, thank you. cmTarget* cmMakefile::AddGlobalTargetMP(const char *targetName, const std::vector &srcs) { cmTarget target; tar

Re: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Sylvain Benner
Does anyone know the answer to this? We have a solution but it requires to modify CMake source code. We are using a custom ADD_TARGET command, I attached it to this post. The idea is to add a new keyword "Documentation" as opposed to Executable, Shared and Static. This keyword set the target t

RE: [CMake] Creating a visual studio project with non .cpp or .h files in it.

2007-12-05 Thread Josef Karthauser
Does anyone know the answer to this? I'd love you forever :) Joe > -Original Message- > From: Josef Karthauser > Sent: 04 December 2007 14:23 > To: Josef Karthauser; Joshua Jensen; Philip Lowman > Cc: CMake ML > Subject: RE: [CMake] Creating a visual studio project with non .cpp or >

Re: [CMake] Windows ifort problems, possible bug

2007-12-05 Thread Bill Hoffman
Alin M Elena wrote: Hi Bill, That was the problem. Even if in the shell (PowerShell) I had a touch available loaded through the profile script cmake wanted a proper one. Fixed it now and nmake build is ok. I have changed cmake to no longer use touch for this. A fixed version can be found her

[CMake] Dependency list

2007-12-05 Thread Anders Backman
Hi all. I have a question regarding library dependency. Im using VC2005. Assume the following: I have a solution with a set of projects, three are libraries and one is an application: A.lib /A.dll B.lib/B.dll : B depends on A.lib, so if I want to use B.lib somewhere, A.libis also automaticall

Re: [CMake] SOURCE_GROUP command

2007-12-05 Thread Sylvain Benner
In my cmake scripts I build a single list of all my cpp and h files for the project. At the end of the script I iterate over this list and add each file to the correct source group based on it's path relative to the source root. This is only for MSVC. I am running into a problem where I end

Re: [CMake] CMake cannot build a simple example on one of our computers

2007-12-05 Thread Pau Garcia i Quiles
Quoting Bill Hoffman <[EMAIL PROTECTED]>: Marcus wrote: Hi, CMake will not configure on one of our development machines. When I run CMake on this machine, it initially it says: -- Check for working C compiler: cl Then it crunches for about 15 minutes, and eventually displays the messa

[CMake] cmake Visual Studio 8 2005 generator and fortran(ifort)

2007-12-05 Thread Alin M Elena
I am using the Visual Studio 8 2005 generator with cmake and intel fortran compiler. I load the solution in Visual studio and when I compile I get the following error Building Fortran object test.obj C:\Users\Alin M Elena\testFortran\test.f90(2) : Error: Error in opening the compiled module f

RE: [CMake] Windows ifort problems, possible bug

2007-12-05 Thread Alin M Elena
Hi Bill, That was the problem. Even if in the shell (PowerShell) I had a touch available loaded through the profile script cmake wanted a proper one. Fixed it now and nmake build is ok. Alin "...if the universities will not s