[CMake] Required file to use add_test in a CTedt Script?

David Cole david.cole at kitware.com
Mon Nov 21 07:55:07 EST 2011


The add_test command only works in the context of a CMakeLists.txt file. It is not a "scriptable" command.


HTH,
David


On Nov 20, 2011, at 12:24 PM, norulez at me.com wrote:

> Hi,
> 
> I want to use the add_test() command in a ctest script, but what must I include to get them working?
> 
> Currently I get the error that the add_test() command doesn't exist.
> 
> Thanks in advance
> 
> Best Regards
> NoRulez
> --
> 
> 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


More information about the CMake mailing list