Re: [CMake] [Fortran] Default flags for ifort on windows (and mxing C and Fortran)

2009-06-26 Thread Maik Beckmann
Clinton Stimpson schrieb am Donnerstag 25 Juni 2009 um 16:38: On 06/25/2009 06:47 AM, Maik Beckmann wrote: Hello, What about altering SET (CMAKE_Fortran_FLAGS_INIT /W1 /nologo /fpp) SET (CMAKE_Fortran_FLAGS_RELEASE_INIT /MD /O1 /D NDEBUG) SET (CMAKE_Fortran_FLAGS_INIT /W1

Re: [CMake] CmakeADSP How to use gmake with ADSP tools

2009-06-26 Thread Daniel Wildermuth
Hi, so it would be best, if I used nmake? A short google tells me that I have to get it from MS. If possible I would like to sick with the gmake that comes with VDSP tools site... Raphael Cotty wrote: Hi, I use use cmake to cross compile to ADSP (Blackfin) and it works very well (using

Re: [CMake] CmakeADSP How to use gmake with ADSP tools

2009-06-26 Thread Daniel Wildermuth
ok, the make can be found: the variable to set for the tool chain file is named CMAKE_TOOLCHAIN_FILE not TOOLS_CHAIN_FILE... so the commandline should be changed to something like C:\path_to_sourcescmake -DCMAKE_TOOLCHAIN_FILE=Toolch ain-ADSP-Blackfin.cmake -G Unix Makefiles However, it

Re: [CMake] How to get exit status of failing custom_command?

2009-06-26 Thread Marcel Loose
Thanks Tyler, I'll look into it. But it could very well be that I made a mistake in one of my CMakeLists.txt (or CMake macro) files, since this happened while I was developing those. At the moment I cannot reproduce the error. Best regards, Marcel Loose. On Thu, 2009-06-25 at 15:25 -0700,

Re: [CMake] Emacs: Addition to cmake-model.el to show cmake documentation

2009-06-26 Thread James Bigler
On Wed, Apr 29, 2009 at 11:43 AM, Bill Hoffmanbill.hoff...@kitware.com wrote: James Bigler wrote: Thanks for the suggestion.  word-at-point works better than my hand rolled code. Here's the updated version.  I also fixed a slight annoyance where if the help command output was short enough

[CMake] Also install dependent libraries

2009-06-26 Thread Jean-Pierre Bergamin
Dear CMake users We have a project directory layout like the following (where server and client use libraires in the directory libs) myproject/server myproject/client myproject/libs When installing the project from the top level directory, everything is fine. But although dependent libs are

[CMake] Windows Intel Fortran, BLAS (MKL), MPICH2

2009-06-26 Thread John Biddiscombe
Has anyone successfully managed to get a cmake project which compiles Intel Fortran compiler 11 Visual Studio C/C++ (Can use Intel C Compiler 11 if this helps) BLAS (using MKL from Fortran 11 above) MPICH2 (I'm using binaries from ANL) (the fortran compiler does not like the mpif.h supplied, so

Re: [CMake] Emacs: Addition to cmake-model.el to show cmake documentation

2009-06-26 Thread Bill Hoffman
James Bigler wrote: On Wed, Apr 29, 2009 at 11:43 AM, Bill Hoffmanbill.hoff...@kitware.com wrote: James Bigler wrote: Thanks for the suggestion. word-at-point works better than my hand rolled code. Here's the updated version. I also fixed a slight annoyance where if the help command output

Re: [CMake] problem : cmake 2.6.4 intel fortran compiler 11 - visstudio 2008

2009-06-26 Thread Martin Apel
Hi John, I had the same issues on my machine, which had two different versions of the Intel Fortran compiler installed. After removing both and reinstalling only one of them (in my case V10.1), the problem went away. It seems that the Visual Studio integration of the Intel Fortran compiler has

Re: [CMake] cmake -E move/rename?

2009-06-26 Thread David Cole
It does in CVS CMake... (recently added...) From my current Windows build: C:\Users\david.cole\Dashboards\My Tests\CMake Win32-vs8-Releasebin\release\cmake -E CMake Error: cmake version 2.7.20090625 Usage: bin\release\cmake -E [command] [arguments ...] Available commands: chdir dir cmd

Re: [CMake] Also install dependent libraries

2009-06-26 Thread Tyler Roscoe
On Fri, Jun 26, 2009 at 10:50:27AM +0200, Jean-Pierre Bergamin wrote: When installing the project from the top level directory, everything is fine. But although dependent libs are built when calling make install i.e. in the server directory, they don't get installed. Is there a way to also

[CMake] Problem when launching ccmake 2.6.4

2009-06-26 Thread Renato Elias
-- Forwarded message -- From: Renato Elias rnel...@gmail.com Date: Fri, Jun 26, 2009 at 11:17 AM Subject: Problem when launching ccmake 2.6.4 To: cmake@cmake.org Folks, I've just downloaded and compiled CMake 2.6.4 in a SGI Altix-ICE system. The compilation went fine but when I

Re: [CMake] Problem when launching ccmake 2.6.4

2009-06-26 Thread Bill Hoffman
Renato Elias wrote: -- Forwarded message -- From: *Renato Elias* rnel...@gmail.com mailto:rnel...@gmail.com Date: Fri, Jun 26, 2009 at 11:17 AM Subject: Problem when launching ccmake 2.6.4 To: cmake@cmake.org mailto:cmake@cmake.org Folks, I've just downloaded and compiled

Re: [CMake] Problem when launching ccmake 2.6.4

2009-06-26 Thread Bill Hoffman
Bill Hoffman wrote: Renato Elias wrote: -- Forwarded message -- From: *Renato Elias* rnel...@gmail.com mailto:rnel...@gmail.com Date: Fri, Jun 26, 2009 at 11:17 AM Subject: Problem when launching ccmake 2.6.4 To: cmake@cmake.org mailto:cmake@cmake.org Folks, I've just

Re: [CMake] Problem when launching ccmake 2.6.4

2009-06-26 Thread Renato Elias
Same problem with the small test :-( On Fri, Jun 26, 2009 at 12:06 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Bill Hoffman wrote: Renato Elias wrote: -- Forwarded message -- From: *Renato Elias* rnel...@gmail.com mailto:rnel...@gmail.com Date: Fri, Jun 26, 2009 at

Re: [CMake] Problem when launching ccmake 2.6.4

2009-06-26 Thread Renato Elias
Hi Bill, I'm not good with command line debuggers. Just tried to run using gdb but it hasn't helped so much: gdb ccmake run .. gives me the same error message Could you give me any basic direction with gdb? Moreover, is cmake compiled with debug symbols? (I guess not, otherwise the error

Re: [CMake] Emacs: Addition to cmake-model.el to show cmake documentation

2009-06-26 Thread James Bigler
On Fri, Jun 26, 2009 at 6:33 AM, Bill Hoffman bill.hoff...@kitware.comwrote: James Bigler wrote: On Wed, Apr 29, 2009 at 11:43 AM, Bill Hoffmanbill.hoff...@kitware.com wrote: James Bigler wrote: Thanks for the suggestion. word-at-point works better than my hand rolled code. Here's

Re: [CMake] Library dependencies

2009-06-26 Thread Nathan Paul
LINK_INTERFACE_LIBRARIES was exactly what I needed. Thanks! As for moving the .lib that was generated for the .dll, I've made piece with keeping that at its default output location. CMake is smarter with linking than I originally thought. On Fri, Jun 26, 2009 at 12:28 AM, Tyler Roscoe

Re: [CMake] Also install dependent libraries

2009-06-26 Thread Tyler Roscoe
Make sure you reply to the list so others can help. On Fri, Jun 26, 2009 at 09:16:20PM +0200, Jean-Pierre Bergamin wrote: Am 26.06.2009 16:34, schrieb Tyler Roscoe: On Fri, Jun 26, 2009 at 10:50:27AM +0200, Jean-Pierre Bergamin wrote: When installing the project from the top level