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
makeroot -cmake_clean.cmakescripts. e.g. target namedfoobe:cmake -p cmakefiles/foo.dir/cmake_clean.cmakeusing
ninjainstead ofmakegenerators callninja -t clean foo
Comments
Post a Comment