Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Verweij, Arjen
Spot on Bill: C:\Users\madymo\build\CMakeFiles\CMakeTmpcat 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})

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Verweij, Arjen
Hi Bill, 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? Not really. I wasn't around when that system was set up. I tried from cmd.exe, MKS ksh and cygwin shell to get something with

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Bill Hoffman
On 7/15/2010 12:07 PM, Verweij, Arjen wrote: Hi Bill, 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? Not really. I wasn't around when that system was set up. I tried from

[CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Verweij, Arjen
Hi, I'm trying a little F90 example on Windows with cmake. Apparently something is amiss, but I can't find much on Google about it; at least not about this particular case. All I do is cmake ..\f90example and the following appears in my terminal: S:\mnt\usr3\people\verweija\buildcmake

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
On Wed, Jul 14, 2010 at 10:16 AM, Verweij, Arjen verwe...@tass-safe.com wrote: Hi, I’m trying a little F90 example on Windows with cmake. Apparently something is amiss, but I can’t find much on Google about it; at least not about this particular case. All I do is cmake ..\f90example

[CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Andreas Mohr
On Wed, Jul 14, 2010 at 10:16:36AM -0400, cmake-requ...@cmake.org wrote: CMake Error at CMakeLists.txt:4 (SET): Syntax error in cmake code at S:/mnt/usr3/people/verweija/build/CMakeFiles/CMakeTmp/CMakeLists.txt:4 when parsing string Files\VNI\CTT5.0\include\IA32 /fpe:3

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen verwe...@tass-safe.com wrote: Hi, You seem to have a path using \ instead of / Isn't that to be expected of a PATH setting on a Windows computer? Anyway, the path to the Visual Studio compiler is of the same format and cmake deals with it

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 11:23 AM, John Drescher wrote: On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjenverwe...@tass-safe.com wrote: Hi, You seem to have a path using \ instead of / Isn't that to be expected of a PATH setting on a Windows computer? Anyway, the path to the Visual Studio compiler is

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Ryan Pavlik
Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. See also: http://public.kitware.com/Bug/view.php?id=9992 -

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread John Drescher
Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. I had that covered. I just shortened the example not to

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 12:46 PM, John Drescher wrote: Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. I had that