Skip to content
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

Add ignores for Linux CMake systems #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martinlyra
Copy link

A PR intended to improve the quality of life for users with Linux systems and CMake + make. Since the CMake and make systems generate build maps and compiled objects that are not covered by the git-ignore file. In my case I just ran cmake . in the repository's root to get started on the assignments immediately.

The changes were adding two different git-ignore templates to the repo's git-ignore - from the public repository here: https://github.com/github/gitignore

Before:
image

After:
image

@pierremoreau
Copy link
Contributor

Why not use a dedicated build folder as recommended, instead of building inside the source folder?
That way you avoid the clutter from build artefacts, and removing all those artefacts becomes as simple as deleting the whole build folder.

@martinlyra
Copy link
Author

Looking back on the READMEs, I've missed reading the guide on getting started with building because I was skimming on them, so I just ran cmake . to start immediately with the assignments. It suited me fine working with the terminal and Visual Studio Code without a second thought on it.

Additionally git clean -X can clean the local repository off ignored files.

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.

2 participants