Skip to content
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

Support CMake regeneration when VCS changes #1

Open
berenm opened this issue Jan 29, 2016 · 0 comments
Open

Support CMake regeneration when VCS changes #1

berenm opened this issue Jan 29, 2016 · 0 comments
Assignees

Comments

@berenm
Copy link
Owner

berenm commented Jan 29, 2016

As we use file(GLOB ...) to get the list of source files, CMake will not detect changes in the file list on its own and never regenerate the build scripts.

Using the VCS metadata, we can tell CMake to rerun whenever the VCS has changed something, which will cover many cases. The remaining cases are whenever files are added to the source tree but not registered to the VCS. In this case, the only thing we can probably do is to ask the user to re-run CMake by hand.

@berenm berenm self-assigned this Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant