Skip to content

What is the purpose of --unity=subprojects? #11416

Answered by jpakkane
bruchar1 asked this question in Q&A
Discussion options

You must be logged in to vote

Recompilations are slower with Unity builds. The assumption here is that you rarely edit subprojects (them being external dependencies) but the top project is edited often. Thus you want to optimize subprojects to build fast from scratch but the top project to build fast incrementally. Which is what you get with that option.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bruchar1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants