Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Allen Barnett
On Wed, 2008-05-28 at 15:56 +0200, Maik Beckmann wrote: > Am Mittwoch 28 Mai 2008 15:25:06 schrieb Bill Hoffman: > > Yup, sorry, won't work. Each target (library, exe) must be all fortran. > > The IDE does not support mixed CXX and Fortran. So, you would have to > > have:> > > CMAKE_MINIMUM_REQU

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Maik Beckmann
Am Mittwoch 28 Mai 2008 15:25:06 schrieb Bill Hoffman: > Yup, sorry, won't work. Each target (library, exe) must be all fortran. > The IDE does not support mixed CXX and Fortran. So, you would have to > have: > > > > CMAKE_MINIMUM_REQUIRED( VERSION 2.6 ) > > ENABLE_LANGUAGE( Fortran ) > > ADD_LI

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Maik Beckmann
Am Mittwoch 28 Mai 2008 15:03:46 schrieb Allen Barnett: > Hi: I have a project which consists of a C++ main and a set of FORTRAN > computational routines which I'm trying to build on windows XP. I'm > using visual studio 2008 (VC9) and the Intel FORTRAN compiler (10.1) on > IA32. I'm also using CMa

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Bill Hoffman
Alin M Elena wrote: Hi Allen, There is no generator in cmake for the Intel fortran projects VS. It is no big deal to generate them manually in VS. Just add the fortran components to the solution. you wil get some extra vfproj files in the project tree. I do not know how would be affected the

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Alin M Elena
Hi Allen, There is no generator in cmake for the Intel fortran projects VS. It is no big deal to generate them manually in VS. Just add the fortran components to the solution. you wil get some extra vfproj files in the project tree. I do not know how would be affected the .sln file. You should

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Arjen Markus
Allen Barnett wrote: Hi: I have a project which consists of a C++ main and a set of FORTRAN computational routines which I'm trying to build on windows XP. I'm using visual studio 2008 (VC9) and the Intel FORTRAN compiler (10.1) on IA32. I'm also using CMake 2.6 patch 0. If I generate NMake Make

Re: [CMake] C++ and FORTRAN

2008-05-28 Thread Bill Hoffman
Allen Barnett wrote: Hi: I have a project which consists of a C++ main and a set of FORTRAN computational routines which I'm trying to build on windows XP. I'm using visual studio 2008 (VC9) and the Intel FORTRAN compiler (10.1) on IA32. I'm also using CMake 2.6 patch 0. If I generate NMake Makef

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-17 Thread William A. Hoffman
At 04:59 PM 2/17/2006, Michael Stephenson wrote: >I checked out the code from CMake CVS, and it works, i.e., CMakeSetup does >complete. I found though that the project it generates does not handle the >Fortran files correctly. It puts them in the project with a text attribute. >I'll start anothe

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-17 Thread Michael Stephenson
ginal Message - From: "William A. Hoffman" <[EMAIL PROTECTED]> To: "Michael Stephenson" <[EMAIL PROTECTED]>; Sent: Wednesday, February 08, 2006 10:55 AM Subject: Re: [CMake] CMake C++ and Fortran mixed language project fails At 12:04 PM 2/8/2006, Michael Ste

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-08 Thread William A. Hoffman
At 12:04 PM 2/8/2006, Michael Stephenson wrote: >I'm using VS7. I added the code below to the end of CMakeInformation.cmake and >was able to generate solution files for both my test and actual projects. >Thanks! > >--Mike Great, I have checked in that change to CMake CVS, if you get a chance can

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-08 Thread Michael Stephenson
phenson" <[EMAIL PROTECTED]>; Sent: Tuesday, February 07, 2006 8:55 PM Subject: Re: [CMake] CMake C++ and Fortran mixed language project fails Ok, this seems to be a bug. Can you add the following to Modules/CMakeFortranInformation.cmake: IF(NOT CMAKE_NOT_USING_CONFIG_F

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-07 Thread William A. Hoffman
CMakeSetup, it displayes the "hello" message twice and >then gives the error messages as before. > >--Mike > >- Original Message - From: "William A. Hoffman" <[EMAIL PROTECTED]> >To: "Michael Stephenson" <[EMAIL PROTECTED]>; >S

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-07 Thread Michael Stephenson
;[EMAIL PROTECTED]> To: "Michael Stephenson" <[EMAIL PROTECTED]>; Sent: Tuesday, February 07, 2006 4:47 PM Subject: Re: [CMake] CMake C++ and Fortran mixed language project fails This should work. Can you add a MESSAGE("hello") into Modules/Platform/Windows-ifort.cma

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-07 Thread William A. Hoffman
To: <mailto:[EMAIL PROTECTED]>Michael Stephenson ; ><mailto:cmake@cmake.org>cmake@cmake.org >Sent: Monday, February 06, 2006 2:32 PM >Subject: Re: [CMake] CMake C++ and Fortran mixed language project fails > >At 10:18 PM 2/2/2006, Michael Stephenson wrote: >>I ha

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-07 Thread Michael Stephenson
@cmake.org Sent: Monday, February 06, 2006 2:32 PM Subject: Re: [CMake] CMake C++ and Fortran mixed language project fails At 10:18 PM 2/2/2006, Michael Stephenson wrote: I have a mixed language C++ and Fortran project that works on Linux. I'm now trying to run it on Windows. CMake

Re: [CMake] CMake C++ and Fortran mixed language project fails

2006-02-06 Thread William A. Hoffman
At 10:18 PM 2/2/2006, Michael Stephenson wrote: I have a mixed language C++ and Fortran project that works on Linux. I'm now trying to run it on Windows. CMakeSetup generates the following errors:   CMakeError: Error required internal CMake variable not set, cmake may be not be built correctly.

[CMake] CMake C++ and Fortran mixed language project fails

2006-02-02 Thread Michael Stephenson
I have a mixed language C++ and Fortran project that works on Linux. I'm now trying to run it on Windows. CMakeSetup generates the following errors:   CMakeError: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_Fortran_FLAGS_REL