Skip to content

VisualStudio: add "out" folder to build results #3540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

jumattos
Copy link
Contributor

@jumattos jumattos commented Oct 1, 2020

Reasons for making this change:

Out is a common folder for output that should not be committed. It is also the default output folder for CMake Projects in Visual Studio. See supporting feedback ticket at Developer Community.

Links to documentation supporting these rule changes:

See documentation for VS 2019: CMake projects in Visual Studio - IDE Integration.

Click the Show All Files button at the top of Solution Explorer to see all the CMake-generated output in the out/build/ folders.

@jumattos
Copy link
Contributor Author

@shiftkey Can you take a look at this PR? Thanks!

@ghost
Copy link

ghost commented Nov 13, 2020

@shiftkey +1 to merge this PR.

None of the .gitignore templates actually cover this, and as it is the default output folder for CMake projects in Visual Studio, that makes sense to add it for the Visual Studio template.

@ghost
Copy link

ghost commented Nov 13, 2020

Linked to my PR #3576, the following documentation also points out the "out" folder.

"remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],

@mcleary
Copy link

mcleary commented Dec 3, 2020

This would be really useful as I always need to add out/ to the my .gitignore files

@jumattos
Copy link
Contributor Author

This change went into Visual Studio 16.9 around 5 years ago. It would be nice to keep the .gitignore file automatically added in Visual Studio in sync with this one. Please take a moment to review the changes. @wirecat

Copy link
Collaborator

@wirecat wirecat left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution and the ping!

@wirecat wirecat merged commit 094d21a into github:main May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants