devops12 個の有効ルール2026-09-30 検証済み
CMake .gitignore テンプレート
CMake generated build directories, cache files (CMakeCache.txt), and rules. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
CMake
選択されたテンプレート (1)
CMake
devops
CMake generated build directories, cache files (CMakeCache.txt), and rules
#cmake#cmake-build
.gitignore
12 ルール•1 テンプレート
### 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 行•UTF-8•LF
決定論的パイプライン
生ソース: CMake .gitignore
クローラブルな公式アップストリーム原典cmake.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-* 主要除外パターンの解説
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
CMakeCache.txt
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。