[CMake] making executible in mixed C/fortran project

2010-11-12 Thread luxInteg
Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with another file in fortran. Here is an excerpt from a unix makefile I am attempt to port to cmake as part of my cmake turotial. fileC.o: fileC.c

Re: [CMake] making executible in mixed C/fortran project

2010-11-12 Thread Michael Hertling
On 11/12/2010 02:46 PM, luxInteg wrote: Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with another file in fortran. Here is an excerpt from a unix makefile I am attempt to port to cmake

Re: [CMake] making executible in mixed C/fortran project

2010-11-12 Thread luxInteg
On Friday 12 November 2010 13:17:50 Michael Hertling wrote: On 11/12/2010 02:46 PM, luxInteg wrote: Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with another file in fortran.

Re: [CMake] making executible in mixed C/fortran project

2010-11-12 Thread Michael Hertling
On 11/12/2010 05:37 PM, luxInteg wrote: On Friday 12 November 2010 13:17:50 Michael Hertling wrote: On 11/12/2010 02:46 PM, luxInteg wrote: Greetings, I am learning cmake I am building an executable which needs to first compile a C program and then recompiling the object file with