Re: [CMake] Problems detecting source-code changes in continuous integration ctest script

2012-09-12 Thread Kristofer Tingdahl
Dear David, thanks for the solution. As I digged into the source-code, I found that this was probably a solution. Best regards, Kristofer Tingdahl -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep message

Re: [CMake] Problems detecting source-code changes in continuous integration ctest script

2012-09-11 Thread David Cole
We do this in the cmake_common.cmake script to avoid multiple "initial checkouts": # Look for updates. ctest_update(RETURN_VALUE count) set(CTEST_CHECKOUT_COMMAND) # checkout on first iteration only ctest_start does an initial checkout if CTEST_CHECKOUT_COMMAND is set. So in order to have t

[CMake] Problems detecting source-code changes in continuous integration ctest script

2012-09-10 Thread Kristofer Tingdahl
Dear list-members, I am reasonably new to cmake (6 month now), and I have run into some problems: I have the following script: ... while ( ${CTEST_ELAPSED_TIME} LESS 82800 ) #23 hours set ( START_TIME ${CTEST_ELAPSED_TIME} ) ctest_start (Continuous) ctest_update ( RETURN_VALUE count )