[CMake] Ways of setting CTEST_BUILD_NAME

Convey, Christian J CIV NUWC NWPT christian.convey at navy.mil
Thu Jun 24 15:25:39 EDT 2010


Yeah, thanks, that makes sense.

Actually, another thing I like about specifying BUILDNAME on the command line is because the shell script that invokes "cmake" is also a very opportune place to compute the build name.

- C

> -----Original Message-----
> From: David Cole [mailto:david.cole at kitware.com] 
> Sent: Thursday, June 24, 2010 15:22
> To: Convey, Christian J CIV NUWC NWPT
> Cc: cmake at cmake.org
> Subject: Re: [CMake] Ways of setting CTEST_BUILD_NAME
> 
> cmake -DBUILDNAME=MyBuildName . && make && make test
> 
> test does not depend on all so that it can just run 
> quickly... so you need the middle make in the above command 
> line if you actually want to build your stuff first.
> 
> But why do you even need to set BUILDNAME for a "make test" 
> -- it only really applies when you're submitting a dashboard.
> 
> You would do something like:
> cmake -DBUILDNAME=MyBuildName && ctest -D Experimental
> 
> ...to run an experimental dashboard including configure, 
> build and test stages...
> 
> Does that make sense?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5218 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100624/fd21c17b/attachment.bin>


More information about the CMake mailing list