I'm wondering how is it possible to have CMake handle dependencies in a
setup where multiple CMakeFiles.txt files are used, and there's a
top-level CMake file including them with add_subdirectory()
I tried to use the add_dependencies() statement, but that only 'sees'
targets that are defined
Christian Ehrlicher wrote:
http://www.cmake.org/Wiki/CMake_FAQ#CMake_does_not_generate_a_.22make_distclean.22_target._Why.3F
So I doubt such a target could be added without someone crying why his
generated file did not get cleaned up...
but, you could easily create a 'best-effort' distclean,
Philip Lowman wrote:
Yes, I agree. I'm sure there are people out there that use custom
scripts with CMake that generate files that can't be tracked by CMake.
I would argue this is a small use case. Those users shouldn't expect
CMake to clean up their stuff for them automatically. That's
Hi,
I wonder if there's an easy, straightforward way to clean a cmake
project of _all_ cmake-generated files? This would include:
CMakeCache.txt
cmake_install.cmake
CMakeFiles
and all of these in subdirectories added to the project with the
add_subdirectory() statement..
Thanks,
Akos