On Thu, Jun 24, 2010 at 03:07:50PM -0400, Convey, Christian J CIV NUWC NWPT 
wrote:
> Suppose I want do just use "ctest" in a dead-simple manner:  add a few
> lines to my CMakeLists.txt files, then run "cmake . && make test".
> 
> In this scheme, what's the easiest way I can set CTEST_BUILD_NAME?
> Simply setting that variable in my CMakeLists.txt file doesn't *seem*
> to be effective.

Based on my build system, it looks like you can just set BUILDNAME
before you do include(CTest). You may need an enable_testing() call as
well.

tyler
_______________________________________________
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