Den 08. aug. 2013 17:36, skrev Jakub Zakrzewski: > Hi, > > a neee - just ignore this - I need more sleep... > > This indeed looks like a correct piece of code. > Moreover - it works perfectly with my ctest...
No problem. I noticed that if I add this in the "ctest run script", i.e. the script I execute like "ctest -S myscript.cmake", then the macro works correctly. Hence perhaps it is correct that the ctest --help-command is reporting this as such. However what I am trying to do now (not sure if it is supposed to work), is to add this to a 'CTestTestfile.cmake' file in the project itself, where the project is not using cmake (there is nothing to compile so it doesn't make much sense to use cmake). Cheers, Yngve -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
