On 09/21/2010 01:30 PM, David Cole wrote:
$<CONFIGURATION> only works with the "add_test(NAME mytest COMMAND
MyCommand)" form of the add_test command.
But, when you use that form, you have to run "ctest -C Release" or
"ctest -C Debug" to choose a configuration when you run the tests.
Otherwise, tests added with that form are skipped if ctest is called
without a -C argument.
Ok, thanks.
(I didn't find any mention of this. Maybe the add_test() documentation
ought to say something about it.)
--
/Jesper
_______________________________________________
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