raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.83k stars 820 forks source link

Update gitignore to ignore CMake generated files #482

Closed protik09 closed 5 months ago

lurch commented 6 months ago

Don't these normally end up being created inside the build folder anyway?

protik09 commented 6 months ago

I had them cluttering up the repo outside build, so just dropped in my CMake gitignore to fix it.

peterharperuk commented 6 months ago

@lurch is correct. It looks like you have run cmake in the source folder. It's usual to do this...

cd pico-examples mkdir build cd build cmake .. make -j8

We already ignore the build folder.

lurch commented 6 months ago

@protik09 See also https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf

peterharperuk commented 5 months ago

Closing this as it's not required