makefile - How can I get CMake to allow for "make clean"ing just one target? -
i have cmakelists.txt multiple targets, of them not part of all
.
i want able cleanup (using make) files used in building of 1 of targets, not files used build second target.
what should do?
i see 2 additional options:
using internally each target generated - unfortunately not directly accessible through
make
root -cmake_clean.cmake
scripts. e.g. target namedfoo
be:cmake -p cmakefiles/foo.dir/cmake_clean.cmake
using
ninja
instead ofmake
generators callninja -t clean foo
Comments
Post a Comment