IENT / YUView

The Free and Open Source Cross Platform YUV Viewer with an advanced analytics toolset
http://ient.github.io/YUView
Other
1.88k stars 369 forks source link

add generated build files to gitignore #469

Closed slhck closed 2 years ago

slhck commented 2 years ago

Prevent unclean Git directory after build on Linux

ChristianFeldmann commented 2 years ago

Hi. Thanks for the suggestion. But in tree builds (it looks like that is what you tried) are very much discouraged. Please create a directory somewhere (e.g. in the YUView folder. The suggested name is build) and execute qmake and the build in there:

mkdir build
cd build
qmake ..
make -j 16

The build directory is already completely covered by the gitignore and the build will put all files (.o files, moc files and binaries) into that build folder.

slhck commented 2 years ago

In that case it would make sense to add this to the documentation. It does not mention the steps you listed.

ChristianFeldmann commented 2 years ago

You are right. The wiki page does not make this clear enough. I updated the page to make it really clear to do an out of tree build.

slhck commented 2 years ago

Thanks, that makes much more sense!