how to cmake clean code example
Example 1: cmake run cmake clean
cmake --build C:/foo/build/ --target clean
Example 2: cmake run cmake clean
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)