diff options
author | Kyle Manna <kyle@kylemanna.com> | 2015-10-15 13:04:23 -0700 |
---|---|---|
committer | Kyle Manna <kyle@kylemanna.com> | 2015-10-15 13:04:23 -0700 |
commit | a97617bb41d2e03c670467a0d053b4d2eaae8dad (patch) | |
tree | b4d980088ebd411c5ae570a7d0d576123ac7d27a /tests/site_scons | |
parent | 6b63b26404064272394740f6b7354e75c5805cec (diff) |
cmake: Build generator files in build directory
Treat the source directory as immutable. Copy the generator directory
which previously generated files in-tree to the build directory and
then generate files.
Many emerging continuous integration build systems test builds across
multiple versions of dependencies protobuf and python versions in
particular. The previous source tree builds resulted in stale files
from the last build breaking the current build. By placing the build
files in the build directory, the build system automatically removes
stale files (removes output build directory) and regenerates them as
necessary.
Diffstat (limited to 'tests/site_scons')
0 files changed, 0 insertions, 0 deletions