Re: [CMake] environment variables and visual studio

2007-10-23 Thread Jesper Eskilson
Sylvain Benner wrote: Is there any way for CMake to set environment variables which can be picked up in Visual Studio's pre/post-build steps? I'm working on a system where I've got a couple of studio project included via the INCLUDE_EXTERNAL_MSPROJECT(), and I would like to be able to

Re: [CMake] environment variables and visual studio

2007-10-23 Thread Jesper Eskilson
Bill Hoffman wrote: Jesper Eskilson wrote: Is there any way for CMake to set environment variables which can be picked up in Visual Studio's pre/post-build steps? I'm working on a system where I've got a couple of studio project included via the INCLUDE_EXTERNAL_MSPROJECT(), and I would like

RE: [CMake] Caching calculated values.

2007-10-23 Thread Josef Karthauser
-Original Message- From: Amitha Perera [mailto:[EMAIL PROTECTED] Sent: 22 October 2007 18:53 To: Josef Karthauser Cc: cmake@cmake.org Subject: Re: [CMake] Caching calculated values. On Mon 22 Oct 2007, Josef Karthauser wrote: As each set of calculations are connected to a single

Re: [CMake] environment variables and visual studio

2007-10-23 Thread Sylvain Benner
No, I can't. The reason I don't generate them is that they have to be portable since they are shipped to customers as a part of an SDK, and as I understand it the project files CMake generates are not portable/movable (due to absolute paths, etc). You can generate relative paths with the

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 However, I’d like to control this from within a

Re: [CMake] Re: Re: Re: Re: Hyperlinked indexed reference?

2007-10-23 Thread a . neundorf-work
On Tuesday 23 October 2007 00:51, Fernando Cacciola wrote: Hi Bill, Just create a patch and send it to me. OK. Here's a patch for cmDocumentationFormatterHTML.cxx It adds, at the beginning of each section, a list with hyperlinks to each entry in it. Unfortunately, adding a similar list

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-23 Thread Gonzalo Garramuño
Bill Hoffman wrote: The C++ code did not forget anything. I intentionally do not set the CMAKE_INSTALL_PREFIX to the equivalent of /usr/local in a windows PATH because I think it is the wrong default. I still think that it is correct to install into program files. The only case where I

[CMake] Native Pathsupport under Windows

2007-10-23 Thread alexander
Hello List, I need to use under windows the buildin commands of the shell. But when I run these commands they doesn't work correctly, because the windows commands doen't like the slashes (/). It seems to me that they want to get backslashes (\). A example: ADD_CUSTOM_COMMAND(OUTPUT

RE: [CMake] Native Pathsupport under Windows

2007-10-23 Thread Torsten Martinsen
[EMAIL PROTECTED] wrote: I need to use under windows the buildin commands of the shell. But when I run these commands they doesn't work correctly, because the windows commands doen't like the slashes (/). It seems to me that they want to get backslashes (\). 1. Is there a possiblity to get

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 of sub- trees which use

RE: [CMake] Native Pathsupport under Windows

2007-10-23 Thread alexander
Hi, I need to use under windows the buildin commands of the shell. But when I run these commands they doesn't work correctly, because the windows commands doen't like the slashes (/). It seems to me that they want to get backslashes (\). 1. Is there a possiblity to get backslashes instead

Re: [CMake] Native Pathsupport under Windows

2007-10-23 Thread James Bigler
On Oct 23, 2007, at 7:13 AM, Torsten Martinsen wrote: [EMAIL PROTECTED] wrote: FILE(TO_NATIVE_PATH ...) When I do a FILE(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR} RESULT) and then use ${RESULT} I get the whole again with slashes. So I can't use that with custom_command:

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-23 Thread Brandon Van Every
On 10/23/07, Gonzalo Garramuño [EMAIL PROTECTED] wrote: Native windows applications do not belong in /usr/local (since they don't even know what /usr/local is). But mingw or cygwin under windows will ALWAYS link against the microsoft runtime, regardless of whether you compile cmake

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-23 Thread Brandon Van Every
On 10/23/07, Bill Hoffman [EMAIL PROTECTED] wrote: OK, now this is more what I was asking for. If autotools based projects in msys install into /usr/local by default, then maybe CMake ones should as well. As far as I'm concerned, this is Autotools' problem. CMake should pursue no slavish

Re: [CMake] CMake2.5 - wrong default install location for mingw

2007-10-23 Thread Bill Hoffman
Brandon Van Every wrote: On 10/23/07, Bill Hoffman [EMAIL PROTECTED] wrote: OK, now this is more what I was asking for. If autotools based projects in msys install into /usr/local by default, then maybe CMake ones should as well. As far as I'm concerned, this is Autotools' problem. CMake

[CMake] Warning level change when going from 2.4.6 to 2.4.7

2007-10-23 Thread Kedzierski, Artur CIV NSWC Corona, PA53
After upgrading CMake from 2.4.6 to 2.4.7, the warning level on Windows is now 3 instead of 4. Running CMakeSetup in clean build directory results in projects having warning level 3. Going back to CMake 2.4.6 fixes the problem (warning level is 4). Is there something new in 2.4.7

[CMake] CTest patch

2007-10-23 Thread Félix C. Morency
Hi, I made few changes to CTest concerning SVN support. I added support for the french SVN output so that it can handles revision number, automatic updates and etc. I also changed some routine that I think were defectives. Please leave me your comments/suggestions and test the english version so

Re: [CMake] CTest patch

2007-10-23 Thread Bill Hoffman
Félix C. Morency wrote: Hi, I made few changes to CTest concerning SVN support. I added support for the french SVN output so that it can handles revision number, automatic updates and etc. I also changed some routine that I think were defectives. Please leave me your comments/suggestions and

[CMake] CMakeSetup requires elevation on Vista

2007-10-23 Thread Nico Galoppo
I'm experiencing the same problem as in bug #5072 (http://www.vtk.org/Bug/view.php?id=5072), regarding requiring CMake requiring elevation on Vista ('run as administrator'). The problem lies in the fact that the build scripts/directories are owned by the administrator, which means that Visual

Re: [CMake] CMakeSetup requires elevation on Vista

2007-10-23 Thread Bill Hoffman
Nico Galoppo wrote: I'm experiencing the same problem as in bug #5072 (http://www.vtk.org/Bug/view.php?id=5072), regarding requiring CMake requiring elevation on Vista ('run as administrator'). The problem lies in the fact that the build scripts/directories are owned by the administrator, which

[CMake] MinGW broken on Vista

2007-10-23 Thread Brandon Van Every
If you try to run CMakeSetup with MinGW on Windows Vista, and you get a screenful of errors including a line: gcc.exe: installation problem, cannot exec `cc1': No such file or directory it's not you and it's not CMake. MinGW's gcc 3.4.5 is fundamentally broken under Vista. I've been chasing

Re: [CMake] CMakeSetup requires elevation on Vista

2007-10-23 Thread Brandon Van Every
On 10/23/07, Bill Hoffman [EMAIL PROTECTED] wrote: The fix is in CVS CMake, but you have to build CMake with VS 8. The next release of CMake will have this fix in it. Is VS8 a temporary or permanent requirement? If permanent, are there guards to keep people from building CMake with earlier

Re: [CMake] CTest patch

2007-10-23 Thread Hendrik Sattler
Am Dienstag 23 Oktober 2007 schrieb Félix C. Morency: I made few changes to CTest concerning SVN support. I added support for the french SVN output so that it can handles revision number, automatic updates and etc. I also changed some routine that I think were defectives. Please leave me your

Re: [CMake] Native Pathsupport under Windows

2007-10-23 Thread Brandon Van Every
On 10/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I need to use under windows the buildin commands of the shell. But when I run these commands they doesn't work correctly, because the windows commands doen't like the slashes (/). It seems to me that they want to get backslashes