On 07/04/2014 09:25 AM, Angelos Mantzaflaris wrote:

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


I think --build-noclean only applies when using --build-and-test.

In script mode ctest_build() does not run the clean target by default so the issue is probably somewhere else.

For a clean build in script mode I'd expect e.g. a call to ctest_empty_binary_directory().

Nils
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to