Browse Source
Removing CMAKE_CURRENT_BINARY_DIR directly is problematic, since it also removes files generated by cmake and can cause errors that will require regenerating the build system files. Instead, call <backend> clean (e.g. make clean or ninja clean) in CMAKE_CURRENT_BINARY_DIR. This ensures all the files generated by the build system are removed, but any files generated as a part of cmake's configuration step are preserved.master
Alberto García Hierro
4 years ago
1 changed files with 16 additions and 24 deletions
Loading…
Reference in new issue