I have a project using CMake to generate Makefiles, which then get built with (GNU) make.
In my project, the CMakeLists.txt
defines two targets - but only one of them gets built when make
ing after Makefile
generation (e.g. using the EXCLUDE_FROM_DEFAULT_BUILD
property).
I want to be able to cleanup (using make
) the files used in the building of one of the targets, but not the files used to build the second target.
How can I do that?