-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ignore Visual Studio and Visual Studio Code files #12
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,14 @@ | |
*.dSYM/ | ||
|
||
# Build | ||
/build* | ||
/*build* | ||
/inst | ||
|
||
# Visual Studio / Visual Studio Code | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In what case the VS files can be appeared in sources tree? Usually the GDAL build appear by following steps:
In such way everything will be in build folder. Do you see the mapping file (https://github.com/nextgis-borsch/lib_gdal/blob/master/opt/folders.csv) which describes how original sources should be stored in destination sources tree? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The cases are:
IOW, the additional pattern allow typical workflows with VS2017 and VSCode There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, that is a typical CMake command line-based workflow.
I'm not sure how |
||
/.vs | ||
/.vscode | ||
/CMakeSettings.json | ||
|
||
# Temp | ||
*~ | ||
.~* | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous mask /build* was for:
And what cases the mask like your /build for? Not sure that in future some GDAL sources folder may affected by this mask.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It allows more flexibility, eg. to name build folders like
_build64
and_build32
. This is convenient, moves it in directory listing to the top, visually distinct, etc.