Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 8, 2021

Conversation

wravery
Copy link
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