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, noru...@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 -- 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