Skip to content

git ignore: CMakePreset generates different build dir. Excludes all build* builddir - #12729

Open
Montel wants to merge 1 commit into
slint-ui:masterfrom
Montel:fix_ignore_build_dir
Open

git ignore: CMakePreset generates different build dir. Excludes all build* builddir#12729
Montel wants to merge 1 commit into
slint-ui:masterfrom
Montel:fix_ignore_build_dir

Conversation

@Montel

@Montel Montel commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@ogoffart

Copy link
Copy Markdown
Member

Can you elaborate how you get extra build dir?
What cmake command do you use that uses another build directory?

@Montel

Montel commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

cmake --preset debug-mold for example :)

@tronical tronical left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the idea of excluding build*. I'd very much prefer to exclude the build directories that cmake creates for the presents we have listed in CMakePresets.json

@Montel
Montel force-pushed the fix_ignore_build_dir branch from b7211aa to af3ad69 Compare July 31, 2026 14:48

@tronical tronical left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Now just the commit message needs adjusting, I think, as it refers to excluding all build*.

@Montel
Montel force-pushed the fix_ignore_build_dir branch from af3ad69 to 07d142e Compare July 31, 2026 14:56
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.

3 participants