Re: [CMake] download file, modify, add test from it

2015-11-21 Thread David Cole via CMake
Did you try using full path names for the add_custom_command file names? And the NAME/COMMAND form of the add_test command? Also, I've always found custom commands to work best when they're associated with a target. And if it was part of a target you could make the target depend on the external d

[CMake] download file, modify, add test from it

2015-11-21 Thread Nico Schlömer
Hi everyone, I would like to create a CMake test that does the following: * Download a file from an external resource * Do something with the file * compile an executable myTest * execute myTest outputfile Using ExternalData for downloading the file works well, but the second step (file conve