[CMake] Using a ctest script, while avoiding the make clean step

Angelos Mantzaflaris filiatra at gmail.com
Fri Jul 4 03:25:48 EDT 2014


Dear all,


 From the ctest man pages I read:

    --build-noclean
           Skip the make clean step.

I am running ctest with a script, e.g.

ctest -S testScript.cmake

for a continuous build. With a minor change in the repository, the full code
is recompiled. So I was thinking to invoke build-noclean. I cannot figure
out how..

How can I avoid the make clean step when calling

ctest_build

inside my script ?

thanx in advance


More information about the CMake mailing list