<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [CMake] Special variables in CTest</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>That's helpful, but not quite what I'm looking for. The primary reason I'm looking is because I have a nightly script that tries to build the project using both nmake and mingw32-make. It's all in one script. If done from the command-line, both build fine. When done from the script, it builds nmake first, then mingw32-make and the nmake succeeds, but mingw32-make fails at the BUILD stage. <BR>
<BR>
I get through CTEST_CONFIGURE fine and then when CTEST_BUILD runs, it somehow switches back to nmake:<BR>
<BR>
Size of output: 1K<BR>
Command exited with the value: 0<BR>
SetMakeCommand:nmake -i<BR>
SetCTestConfiguration:MakeCommand:nmake -i<BR>
SetCTestConfiguration:BuildDirectory:C:/TEMP/ctest_builds/MyProj_build<BR>
SetCTestConfiguration:SourceDirectory:C:/TEMP/ctest_builds/MyProj<BR>
Build project<BR>
MakeCommand:nmake -i<BR>
Run command: "nmake" "-i"<BR>
Each symbol represents 1024 bytes of output.<BR>
'!' represents an error and '*' a warning.<BR>
.<BR>
<BR>
I'm confused how it can run fine up to configure point and then suddenly revert to nmake at the CTEST_BUILD command. It looks like MAKECOMMAND gets set only once for the whole script file and never updates.<BR>
<BR>
--<BR>
Shane<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Tyler Roscoe [<A HREF="mailto:tyler@cryptio.net">mailto:tyler@cryptio.net</A>]<BR>
Sent: Fri 10/23/2009 11:36 AM<BR>
To: Dixon, Shane<BR>
Cc: cmake@cmake.org<BR>
Subject: Re: [CMake] Special variables in CTest<BR>
<BR>
On Fri, Oct 23, 2009 at 10:55:32AM -0600, Dixon, Shane wrote:<BR>
> I've been trying to find documentation for the special variables in<BR>
> CTest 2.8, but I can't find them. There are several variables that I<BR>
> know are used to initialize defaults, such as CTEST_SVN_COMMAND,<BR>
> CTEST_UPDATE_COMMAND, CTEST_BINARY_DIRECTORY, CTEST_BINARY_DIRECTORY,<BR>
> etc. Is there somewhere that I can find a full list of these? I<BR>
> would expect something like this in the CTest man page under<BR>
> "variables", but that man page has no such section.<BR>
<BR>
Maybe not exactly what you're looking for have you looked at CTest.cmake<BR>
in your Modules directory? That's where the vars come from and there is<BR>
some inline documentation there.<BR>
<BR>
tyler<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>