On Tue, Aug 17, 2010 at 05:14:07PM +0200, Johny wrote:
> I have a ctest script which i am using as a test in my build like this
>
> add_test ( ctest -S script.cmake)
>
> however once the script finishes executing i get a CMake error saying my  
> CTEST_SOURCE_DIRECTORY, CTEST_BINARY_DIRECTORY and CTEST_COMMAND are not  

ctest -S scripts are mostly intended (afaik) for running dashboard
scripts where those variables are required.

How about using cmake -P script.cmake instead?

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