Closed hebasto closed 1 month ago
In-source builds with CMake are incompatible with Autotools because the Makefile files are being overwritten.
Makefile
This PR provides a clear error message if the user attempts to perform an in-source build.
Unfortunately, this approach does not prevent the source directory from being polluted with a few build artifacts. For more details, please see:
Resolves https://github.com/hebasto/bitcoin/issues/306.
The allowance of in-source builds can be reconsidered after completing the migration from Autotools.
Unfortunately, this approach does not prevent the source directory from being polluted with a few build artifacts.
If in a git repository, the git clean -fd command will help delete these artifacts.
git clean -fd
In-source builds with CMake are incompatible with Autotools because the
Makefile
files are being overwritten.This PR provides a clear error message if the user attempts to perform an in-source build.
Unfortunately, this approach does not prevent the source directory from being polluted with a few build artifacts. For more details, please see:
Resolves https://github.com/hebasto/bitcoin/issues/306.
The allowance of in-source builds can be reconsidered after completing the migration from Autotools.