This copies the approach taken in https://github.com/GafferHQ/gaffer/pull/5375 to make sure includes on Windows are taken from the source tree before those in other directories. It has the benefit of picking the correct headers as well as resolving a frequent error on many-core systems when the file was being included and copied to the build directory at the same time.
This copies the approach taken in https://github.com/GafferHQ/gaffer/pull/5375 to make sure includes on Windows are taken from the source tree before those in other directories. It has the benefit of picking the correct headers as well as resolving a frequent error on many-core systems when the file was being included and copied to the build directory at the same time.
Checklist