Brandon Van Every wrote:
FILE commands are performed at configuration time. They don't have
any relevance to actions performed at build time. Not unless you've
wrapped them up in a CMake script and issued an ADD_CUSTOM_COMMAND of
the form COMMAND ${CMAKE_COMMAND} -P myscript.cmake.
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.
Regards,
rod
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake