RE: [CMake] Selecting compiler on Windows platform

2007-10-23 Thread Josef Karthauser
> -Original Message- > From: Josef Karthauser > Sent: 23 October 2007 10:29 > To: Josef Karthauser; [EMAIL PROTECTED]; cmake@cmake.org > Subject: RE: [CMake] Selecting compiler on Windows platform > > > This seems overly restrictive, a tree might contain a number

RE: [CMake] Selecting compiler on Windows platform

2007-10-23 Thread Josef Karthauser
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Josef Karthauser > Sent: 22 October 2007 13:59 > To: [EMAIL PROTECTED]; cmake@cmake.org > Subject: RE: [CMake] Selecting compiler on Windows platform > > > > Howev

Re: [CMake] Selecting compiler on Windows platform

2007-10-22 Thread Miguel A. Figueroa-Villanueva
On 10/22/07, Josef Karthauser wrote: > > -Original Message- > > On Monday 22 October 2007 11:34, Josef Karthauser wrote: > > ... > > > However, I'd like to control this from within a CMake file, and this > > > doesn't appear possible. From what I can see, > > CMakeDetermineCXXCompiler is

RE: [CMake] Selecting compiler on Windows platform

2007-10-22 Thread Josef Karthauser
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of [EMAIL PROTECTED] > Sent: 22 October 2007 13:36 > To: cmake@cmake.org > Subject: Re: [CMake] Selecting compiler on Windows platform > > On Monday 22 October 2007 11

Re: [CMake] Selecting compiler on Windows platform

2007-10-22 Thread a . neundorf-work
On Monday 22 October 2007 11:34, Josef Karthauser wrote: ... > However, I’d like to control this from within a CMake file, and this > doesn’t appear possible. From what I can see, CMakeDetermineCXXCompiler is > loaded and executed prior to the CMakeLists.txt file, which means that I > cannot set t

[CMake] Selecting compiler on Windows platform

2007-10-22 Thread Josef Karthauser
I’m a bit confused, as ever ☺. I’ve got a number of windows compilers, cl and gcc for instance, and I want to specify which one I want to use. I can do this using an environment variable thus, % env CXX=gcc cmake –G’NMake Makefiles’ . which allows CMakeDetermineCXXCompiler.cmake to override