Skip to content

Add all generated files to the repo and fix dependencies#147

Merged
wravery merged 3 commits intomicrosoft:masterfrom
wravery:master
Jan 8, 2021
Merged

Add all generated files to the repo and fix dependencies#147
wravery merged 3 commits intomicrosoft:masterfrom
wravery:master

Conversation

@wravery
Copy link
Copy Markdown
Contributor

@wravery wravery commented Jan 8, 2021

Some of the new version awareness depends on CMake more than I would like because there are no copies of the internal/Version.h or *.rc files added to the repo. This makes it difficult to wrap another build system around a standalone source archive.

All of the files generated by CMake should now be included in the sources, and CMake will update them if they change. While I was at it, I untangled a bunch of generated file dependencies and used cmake -E copy_if_different to minimize modifications to the generated files. Targets which depend on generated files should only trigger a rebuild if that generated file actually changes.

@wravery wravery merged commit 9ef4c8d into microsoft:master Jan 8, 2021
@wravery wravery deleted the master branch January 9, 2021 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant