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:

  1. using internally each target generated - unfortunately not directly accessible through make root - cmake_clean.cmake scripts. e.g. target named foo be:

    cmake -p cmakefiles/foo.dir/cmake_clean.cmake 
  2. using ninja instead of make generators call

    ninja -t clean foo 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -