[FEA] detect and clean out build dirs if building in a central location #2
Labels
0 - Backlog
In queue waiting for assignment
feature request
New feature or request
good first issue
Good for newcomers
Related to #1, sometimes project dependencies fail to build for various reasons. Doing a clean rebuild of the dependent project won't detect that one of its dependencies didn't build and clean-build it too, because clean builds of the dependent project don't (shouldn't?) clean out the dependency build cache.
It's kind of a hacky solution, but we have a CMake function that checks whether the files for a dependency exist, and if not, deletes
${FETCHCONTENT_BASE_DIR}/${pkg}-build
and${FETCHCONTENT_BASE_DIR}/${pkg}-subbuild
directories before callingCPMFindPackage
:The text was updated successfully, but these errors were encountered: