[CMake] Using FILE(REMOVE_RECURSE ...) on clean targets

Rodolfo Schulz de Lima rodolfo at rodsoft.org
Tue Dec 18 13:38:47 EST 2007


What are the implications of using FILE(REMOVE_RECURSE ...) instead of 
FILE(REMOVE ...) on clean targets? I'm setting 
CMAKE_ADDITIONAL_CLEAN_FILES to a directory that isn't being removed.

I've discovered that I must change REMOVE to REMOVE_RECURSE inside 
MakeFiles/project.dir/cmake_clean.cmake to have the directory removed.

Regards,
rod



More information about the CMake mailing list