[CMake] CMake XCODE genarator for Fortran project. Bug?

Marie-Christine Vallet mmvallet at ucdavis.edu
Thu Oct 11 13:24:07 EDT 2007


hi,
I tried to generate an xcode project file with a mixed fortran and c 
project, but I get an error messsage due to the fortran compiler, 
whatever compiler I use.
If I generate the same for kdevelopp3, it works just fine, and if I get 
ride of the fortran part, it generates the file without any problem.


Thanks,
Marie


======================================

=== BUILDING AGGREGATE TARGET XCODE_DEPEND_HELPER WITH CONFIGURATION Debug ===

Checking Dependencies...

PhaseScriptExecution
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/build/CMAKE_TRY_COMPILE.build/Debug/XCODE_DEPEND_HELPER.build/Script-11376A011376A011376A0000.sh
    cd /Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp
    /bin/sh -c
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/build/CMAKE_TRY_COMPILE.build/Debug/XCODE_DEPEND_HELPER.build/Script-11376A011376A011376A0000.sh
make: `CMakeFiles/cmake.check_cache' is up to date.

PhaseScriptExecution
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/build/CMAKE_TRY_COMPILE.build/Debug/XCODE_DEPEND_HELPER.build/Script-1137EE01137EE01137EE0000.sh
    cd /Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp
    /bin/sh -c
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/build/CMAKE_TRY_COMPILE.build/Debug/XCODE_DEPEND_HELPER.build/Script-1137EE01137EE01137EE0000.sh
make -C /Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp -f
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/CMakeScripts/XCODE_DEPEND_HELPER.make
all.Debug
/bin/rm -f
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec


=== BUILDING NATIVE TARGET cmTryCompileExec WITH CONFIGURATION Debug ===

Checking Dependencies...

PhaseScriptExecution
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTryCompileExec.build/Script-1140EB01140EB01140EB0000.sh
    cd /Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp
    /bin/sh -c
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTryCompileExec.build/Script-1140EB01140EB01140EB0000.sh
make: `CMakeFiles/cmake.check_cache' is up to date.

CompileC
CMAKE_TRY_COMPILE.build/Debug/cmTryCompileExec.build/Objects-normal/i386/testFortranCompiler.o
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
normal i386 c++ com.apple.compilers.gcc.4_0
    cd /Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp
    /usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs
-fpascal-strings -fasm-blocks -O0 -DCMAKE_INTDIR=\"Debug\"
-fmessage-length=0 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -O0
-mdynamic-no-pic
-F/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/Debug
-I/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/Debug/include
-I/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTryCompileExec.build/DerivedSources
-c
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
-o
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTryCompileExec.build/Objects-normal/i386/testFortranCompiler.o
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/testFortranCompiler.f:3:18:
warning: character constant too long for its type
/Users/me/program/qtskinmesh/build/CMakeFiles/CMakeTmp/testFortranCompiler.f:2:
error: 'PROGRAM' does not name a type


======================================

-- 
Marie-Christine Vallet
Genome Center, GBSF
University of California
451 East Health Sciences Drive
Davis, CA 95616, USA

Phone: (530) 754 9738
Email: mmvallet at ucdavis.edu
http://koehllab.genomecenter.ucdavis.edu/



Strength is the capacity to break a chocolate bar into four pieces with your bare hands - and then eat just one of the pieces  



More information about the CMake mailing list