Disable unity build for specific target #11149
-
Hello! Is it possible to prevent unity build on a specific target? For instance, if I have libA, libB and libC, could I build the whole project using unity, but preventing libA to use unity build? One reason for that is that on a rather large project, I may want to build it using unity, but to rebuild a specific target without unity to ensure I didn't forgot a Another reason is that I could have a third party subproject that do not work with unity build. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use This is handy for restricting targets that you know don't support unity builds, while leaving all other targets to be set via the global CLI option. |
Beta Was this translation helpful? Give feedback.
You can use
override_options: ['unity=off']
to force a specific built-in option value on a per-target level.This is handy for restricting targets that you know don't support unity builds, while leaving all other targets to be set via the global CLI option.