jamulus icon indicating copy to clipboard operation
jamulus copied to clipboard

Place build generated files in separate folder

Open ann0see opened this issue 2 years ago • 1 comments

Describe the bug

Currently, the build generated files e.g. .moc are scattered in the whole root directory. This is the case especially on manual builds. https://github.com/jamulussoftware/jamulus/pull/2588 tried to clean them up by moving them into a separate folder however it was not successful.

This is annoying as there are a lot of files.

Please note that if the files are moved, the .gitignore file needs to be updated too.

To Reproduce

Run a build on e.g. Linux and see the files in the root.

Expected behavior

Have a clean root directory.

Questions/Comments

  • Why is this a problem? I think overview is the main issue
  • Cross compilation is more difficult
  • Make clean removes them

ann0see avatar Jul 01 '23 19:07 ann0see

QtCreator does out-of-tree builds by default.

make distclean; qmake && make && make clean (with any qmake / make options) keeps the project root clean and leaves the user with the option of not running make clean.

make needs to remain re-runnable from a point of failure with any proposed solution.

pljones avatar Jul 02 '23 09:07 pljones

I have a simple solution for this, which is in my queue for raising a PR soon.

softins avatar Jun 10 '24 14:06 softins