On Tue, Nov 3, 2009 at 6:20 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > Mathieu Malaterre wrote: >> >> Hi there, >> >> I'd like to know if this is possible to execute a cmake custom >> target from my nightly ctest script. >> Eg. In cmake >> >> ... >> ADD_CUSTOM_COMMAND( >> OUTPUT bla.txt >> COMMAND echo "bla" > bla.txt >> VERBATIM >> ) >> ADD_CUSTOM_TARGET(BLA DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bla.txt)
This is really cool ! Thanks -- Mathieu _______________________________________________ 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