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

Brandon Van Every bvanevery at gmail.com
Tue Dec 18 15:22:29 EST 2007


On Dec 18, 2007 2:33 PM, Rodolfo Schulz de Lima <rodolfo at rodsoft.org> wrote:
>
> I think you misunderstood what I meant. Then we do 'make clear', the
> CMakeFiles/project.dir/cmake_clean.cmake gets executed. That's where the
> FILE(REMOVE ...) command I'm talking about resides. This is created by
> cmake during build configuration, but IMHO it should be
> FILE(REMOVE_RECURSE ...) so that 'make clean' removes any directories
> specified with CMAKE_ADDITIONAL_CLEAN_FILES property.

Sounds like a bug.  File a reproducer in the bug tracker.

Cheers,
Brandon Van Every


More information about the CMake mailing list