[cmake-developers] VS2010 fortran composer

2011-03-07 Thread Biddiscombe, John A.
I've made some progress on a Fortran Composer generator for VS2010 If I create a fortran project, I can load it in the IDE and everything works OK, but in order to do this I must detect the fortran compiler first. I am doing this by running cmake using nmake makefiles, then changing the

Re: [cmake-developers] [CMake] xcode project and static library dependencies

2011-03-07 Thread Johan Björk
Nick, We are using a modification on your patch internally. Few things 1) It breaks projects that have resources. Fix is to attach the Executable to only the 'copy to cmake build dir' phase. Even after the mailinglist discussion I'm unsure of the need for this? XCode basically claims it is a

Re: [cmake-developers] [CMake] xcode project and static library dependencies

2011-03-07 Thread Johan Björk
and wow, the patch I just sent is broken because cmXCodeObject-Print() has sideffects! :( Will send a patch that fixes -Print() when I have some extra time. /Johan On Mon, Mar 7, 2011 at 1:33 PM, Johan Björk p...@spotify.com wrote: Nick, We are using a modification on your patch internally.

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Bill Hoffman
On Mon, Mar 7, 2011 at 6:58 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: I've made some progress on a Fortran Composer generator for VS2010 If I create a fortran project, I can load it in the IDE and everything works OK, but in order to do this I must detect the fortran compiler first. I

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Biddiscombe, John A.
No. The cmake generated project is identical to the one I create using visual studio - and both compile fine inside the IDE but both give the same error when I try to compile using MSBuild here is the outpur from a simple TestApp generated using the IDE (New Project etc etc)

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Bill Hoffman
http://software.intel.com/en-us/forums/showthread.php?t=81140 This is explained in the release notes for the Fortran compiler. Please read the section on VS2010.. John, do you have the release notes? On Mon, Mar 7, 2011 at 8:57 AM, Bill Hoffman bill.hoff...@kitware.com wrote: On Mon, Mar 7,

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Biddiscombe, John A.
Bill What if you run DevEnv.exe from the command line with the /Upgrade on the vfproj file? Does it change it? Does it work with MSBuild after? No change. Still fails. http://software.intel.com/en-us/forums/showthread.php?t=81140 This is explained in the release notes for the Fortran

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Bill Hoffman
On Mon, Mar 7, 2011 at 9:17 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: Bill What if you run DevEnv.exe from the command line with the /Upgrade on the vfproj file?  Does it change it?  Does it work with MSBuild after? No change. Still fails.

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Biddiscombe, John A.
I tried the /Upgrade with devenv.exe and it did nothing. After reading more intel forum posts I discover that the fortran projects cannot be built using msbuild. Intentional at some levele. But I realized that I should be using devenv.com not devenv.exe C:\Program Files (x86)\Microsoft Visual

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread David Partyka
I just tried this on a remote machine with the compiler and can confirm what John is seeing. That said. If you run msbuild on the top level solution you get a slightly more informative error. c:\Users\kitware\Documents\Visual Studio 2010\Projects\Console1msbuild Console1.sln Microsoft (R) Build

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Bill Hoffman
On Mon, Mar 7, 2011 at 10:13 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: I tried the /Upgrade with devenv.exe and it did nothing. After reading more intel forum posts I discover that the fortran projects cannot be built using msbuild. Intentional at some levele. But I realized that I

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Biddiscombe, John A.
Or, maybe only use it for fortran, but that would be hard... Ah. That was going to be my next question. I wanted to know how to get the cmTarget object inside the GenerateBuildCommand function, because I need to tell it to use vfproj instead of vcxproj (since I'm using different extensions).

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread Bill Hoffman
On Mon, Mar 7, 2011 at 10:29 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: Or, maybe only use it for fortran, but that would be hard... Ah. That was going to be my next question. I wanted to know how to get the cmTarget object inside the GenerateBuildCommand function, because I need to

Re: [cmake-developers] VS2010 fortran composer

2011-03-07 Thread David Cole
On Mon, Mar 7, 2011 at 10:35 AM, Bill Hoffman bill.hoff...@kitware.comwrote: On Mon, Mar 7, 2011 at 10:29 AM, Biddiscombe, John A. biddi...@cscs.ch wrote: Or, maybe only use it for fortran, but that would be hard... Ah. That was going to be my next question. I wanted to know how to get

[cmake-developers] [CMake 0011937]: Need determination of Intel C++ compiler version

2011-03-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11937 == Reported By:Daniel R. Gomez Assigned To:

Re: [cmake-developers] How to deal with assembler files

2011-03-07 Thread Alexander Neundorf
On Friday 04 March 2011, Brad King wrote: On 03/03/2011 05:04 PM, Alexander Neundorf wrote: On Thursday 03 March 2011, Brad King wrote: Hi Alex, The Sun compiler still fails: http://www.cdash.org/CDash/testDetails.php?test=85204365build=888421 It's because the execute_process in the

[cmake-developers] [CMake 0011938]: CMake ADD_CUSTOM_COMMAND with working directory problem in Visual Studio 2010

2011-03-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://cmake.org/Bug/view.php?id=11938 == Reported By:strcasecmp Assigned To: