CMakeLists.txt: ignore out-of-source build folder
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 2 Apr 2025 08:12:36 +0000 (10:12 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 4 Apr 2025 16:01:15 +0000 (18:01 +0200)
commit5c3856d44fd339ba23194b0686f420f7a863942c
tree9ff1f189e712bf0bf146f1f7a298e9577de9ce78
parent2e97060691ca5fc8fea461d11d82ec9c939d301f
CMakeLists.txt: ignore out-of-source build folder

Create a .gitignore file inside a build folder. This way this folder
will be ignored by git and hence, no entry in the root .gitignore is
required.

For more information see this post:
https://www.scivision.dev/cmake-auto-gitignore-build-dir/
.gitignore
CMakeLists.txt