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.c...@kitware.com] 
> Sent: Thursday, June 24, 2010 15:22
> To: Convey, Christian J CIV NUWC NWPT
> Cc: cmake@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?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to