[CMake] ADD_TEST and WORKING_DIRECTORY

2010-10-20 Thread Micha Renner
Is there a way to specify a WORKING_DIRECTORY for ADD_TEST, similar ADD_CUSTOM_COMMAND? Greetings Micha ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] ADD_TEST and WORKING_DIRECTORY

2010-10-20 Thread Michael Wild
On 20. Oct, 2010, at 9:01 , Micha Renner wrote: Is there a way to specify a WORKING_DIRECTORY for ADD_TEST, similar ADD_CUSTOM_COMMAND? Greetings Micha No, unfortunately not. You will have to wrap EXECUTE_PROCESS in a CMake script and use that script as the test using ${CMAKE_COMMAND}

Re: [CMake] ADD_TEST and WORKING_DIRECTORY

2010-10-20 Thread Michael Hertling
On 10/20/2010 09:05 AM, Michael Wild wrote: On 20. Oct, 2010, at 9:01 , Micha Renner wrote: Is there a way to specify a WORKING_DIRECTORY for ADD_TEST, similar ADD_CUSTOM_COMMAND? Greetings Micha No, unfortunately not. You will have to wrap EXECUTE_PROCESS in a CMake script and