Skip to content

Gitignore in-source CMake/Conan/Qt build artifacts#2

Merged
Ski90Moo merged 1 commit into
developfrom
chore/gitignore-build-artifacts
Jul 15, 2026
Merged

Gitignore in-source CMake/Conan/Qt build artifacts#2
Ski90Moo merged 1 commit into
developfrom
chore/gitignore-build-artifacts

Conversation

@Ski90Moo

Copy link
Copy Markdown
Owner

Summary

  • This repo is built in-place at the repo root rather than in an out-of-source build/ dir, so CMake, Conan, MSBuild, and Qt's moc/rcc all drop generated files directly alongside tracked source. None of that was covered by the existing (out-of-source-build-oriented) ignore rules, so every local build left 150+ untracked files/dirs in git status.
  • Also ignores the handful of configure_file()-generated files produced from tracked .in templates — notably AnalyticsHelperSecrets.hxx, which is populated with real secret values at configure time and should never be committed.

Test plan

  • git status is clean after a full local build (previously ~150+ untracked entries)
  • No currently-tracked files were affected (verified none of the newly-ignored patterns match anything in git ls-files)

This repo is built in-place at the repo root rather than in an
out-of-source build/ dir, so CMake, Conan, MSBuild, and Qt's moc/rcc all
drop generated files directly alongside tracked source. None of that was
covered by the existing (out-of-source-build-oriented) ignore rules,
so every local build left ~150+ untracked files/dirs in git status.

Also ignores the handful of configure_file()-generated files produced
from tracked .in templates -- notably AnalyticsHelperSecrets.hxx, which
is populated with real secret values at configure time and should never
be committed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Ski90Moo
Ski90Moo merged commit 265372c into develop Jul 15, 2026
8 of 10 checks passed
@Ski90Moo
Ski90Moo deleted the chore/gitignore-build-artifacts branch July 15, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant