On 7/15/2010 4:19 AM, Verweij, Arjen wrote:
Spot on Bill:
C:\Users\madymo\build\CMakeFiles\CMakeTmp>cat CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
PROJECT(CMAKE_TRY_COMPILE Fortran)
SET(CMAKE_VERBOSE_MAKEFILE 1)
SET(CMAKE_Fortran_FLAGS " /w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /fpe:3
/nologo ${COMPILE_DEFINITIONS}")
INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})
SET(CMAKE_SUPPRESS_REGENERATION 1)
LINK_DIRECTORIES(${LINK_DIRECTORIES})
ADD_EXECUTABLE(cmTryCompileExec
"C:/Users/madymo/build/CMakeFiles/CMakeTmp/testFortranCompiler.f")
TARGET_LINK_LIBRARIES(cmTryCompileExec ${LINK_LIBRARIES})
Also, what is in your environment? Anything like CFLAGS, FFLAGS or
others that CMake might pick up and try to use?
F90FLAGS=/w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /fpe:3 /nologo
FFLAGS=/w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /fpe:3 /nologo
I guess you get all these for free when you install the intel fortran compiler.
I'll see if I can get rid of these without breaking the current build system :)
I don't think we ended up with those flags after installing the intel
compiler for the dashboard we run at Kitware. Are you sure that came
from the installer?
-Bill
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake