Skip to content
devops12 regole attiveVerificato il 2026-09-30

CMake Modello .gitignore

CMake generated build directories, cache files (CMakeCache.txt), and rules. Generato e unito in modo deterministico con i pattern ufficiali del repository GitHub per preservare il tuo progetto da cartelle di dipendenze, file compilati e variabili d'ambiente locali.

Generatore interattivo di stack

Apri nel generatore completo
Search for templates
Aggiunta rapida:
Selezionati1
CMake
Modelli selezionati (1)
.gitignore
12 regole
### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
CMakeUserPresets.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 righe•UTF-8
Pipeline Deterministica

Sorgente di CMake .gitignore

Modello ufficiale upstream indicizzabile
cmake.gitignore•20 lines•UTF-8
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
CMakeUserPresets.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-*

Dettaglio delle regole principali

Cache e file temporanei

Ignora le cache dei compilatori, i dati di copertura dei test e i file di bozza temporanei per mantenere il repository agile.

CMakeCache.txt

Origine e licenza verificata

Licenza:: CC0-1.0

Salva questo file nella radice del tuo progetto con il nome .gitignore. Le modifiche avranno effetto sui file nuovi o non ancora tracciati.