devops12 aktive RegelnGeprüft am 2026-09-30
CMake .gitignore Vorlage
CMake generated build directories, cache files (CMakeCache.txt), and rules. Deterministisch mit Mustern des offiziellen GitHub-Repositorys zusammengeführt, um dein Projekt sauber von Abhängigkeitsordnern, Build-Artefakten und lokalen Umgebungsvariablen zu halten.
Interaktiver Stack-Generator
Im vollständigen Generator öffnen/
Search for templates
Schnell hinzufügen:
Ausgewählt1
CMake
Ausgewählte Vorlagen (1)
CMake
devops
CMake generated build directories, cache files (CMakeCache.txt), and rules
#cmake#cmake-build
.gitignore
12 Regeln•1 Vorlage
### CMake ###CMakeLists.txt.userCMakeCache.txtCMakeFilesCMakeScriptsTestingMakefilecmake_install.cmakeinstall_manifest.txtcompile_commands.jsonCTestTestfile.cmake_depsCMakeUserPresets.json # CLion# JetBrains specific template is maintained in a separate JetBrains.gitignore that can# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore# and can be added to the global gitignore or merged into this file. For a more nuclear# option (not recommended) you can uncomment the following to ignore the entire idea folder.#cmake-build-* 21 Zeilen•UTF-8•LF
Deterministische Pipeline
Quellcode: CMake .gitignore
Crawlbare offizielle Upstream-Vorlagecmake.gitignore•20 lines•UTF-8
CMakeLists.txt.userCMakeCache.txtCMakeFilesCMakeScriptsTestingMakefilecmake_install.cmakeinstall_manifest.txtcompile_commands.jsonCTestTestfile.cmake_depsCMakeUserPresets.json # CLion# JetBrains specific template is maintained in a separate JetBrains.gitignore that can# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore# and can be added to the global gitignore or merged into this file. For a more nuclear# option (not recommended) you can uncomment the following to ignore the entire idea folder.#cmake-build-* Wichtige Ausschlussmuster im Überblick
Caches & temporäre Dateien
Ignoriert Compiler-Caches, Test-Coverage-Daten und temporäre Arbeitsdateien, um das Repository schlank zu halten.
CMakeCache.txt
Herkunft & Lizenzprüfung
Quelle:: Offizielle GitHub-gitignore (main)
Lizenz:: CC0-1.0
Platziere diese Datei unter dem Namen .gitignore im Stammverzeichnis deines Projekts. Die Änderungen greifen sofort für alle neuen und nicht getrackten Dateien.