<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Brad King wrote:
<blockquote cite="mid44F43952.2080500@kitware.com" type="cite">
  <pre wrap="">Arjen Markus wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

I have trouble getting CMake to recognise Compaq Visual Fortran
as a valid Fortran compiler under Windows.

Philippe Poilbarbe sent me his configuration module for CVF, but
he also noted that there is another problem - CVF does not like
the default options used by TRY_COMPILE.

I have been experimenting with an alternative for that command,
so that CMake will accept CVF. In principle this works (that is
the first step now accepts CVF), but I wonder if someone else
has done this already and what problems I may expect later on.

The thing is:
- CVF does not recognise options like -o
- CVF does not accept forward slashes in file names
- There does not seem to be an option to set the name of the output file
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You'll need to create a Modules/Platform/Windows-CVF.cmake file where
"CVF" is replaced by the actual name of the compiler executable.  In
other such platform files you'll find alternative settings for rules
like CMAKE_Fortran_COMPILE_OBJECT.  Copy one of these and modify it to
setup the rules for this compiler.

If you get this working please post your results.

Thanks,
-Brad
  </pre>
</blockquote>
Well, that sounds promising ... I will see what I can do here.<br>
CVF is an important compiler for me.<br>
<br>
Regards,<br>
<br>
Arjen<br>
<br>
</body>
</html>