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

Place build generated files in separate folder #3092

Open
ann0see opened this issue Jul 1, 2023 · 1 comment
Open

Place build generated files in separate folder #3092

ann0see opened this issue Jul 1, 2023 · 1 comment
Labels
refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system

Comments

@ann0see
Copy link
Member

ann0see commented Jul 1, 2023

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.
#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 ann0see added bug Something isn't working feature request Feature request refactoring Non-behavioural changes, Code cleanup and removed bug Something isn't working labels Jul 1, 2023
@pljones
Copy link
Collaborator

pljones commented Jul 2, 2023

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 pljones added tooling Changes to the automated build system and removed feature request Feature request labels Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system
Projects
Status: Triage
Development

No branches or pull requests

2 participants