pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

Update gitignore to ignore CMake generated files

Open protik09 opened this issue 11 months ago • 4 comments

protik09 avatar Mar 21 '24 02:03 protik09

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

lurch avatar Mar 21 '24 09:03 lurch

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

protik09 avatar Mar 21 '24 15:03 protik09

@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.

peterharperuk avatar Mar 21 '24 16:03 peterharperuk

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

lurch avatar Mar 21 '24 16:03 lurch

Closing this as it's not required

peterharperuk avatar May 02 '24 10:05 peterharperuk