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

DynamicVersion: New commits requires re-configuration #22

Open
LecrisUT opened this issue Jan 3, 2024 · 0 comments
Open

DynamicVersion: New commits requires re-configuration #22

LecrisUT opened this issue Jan 3, 2024 · 0 comments

Comments

@LecrisUT
Copy link
Owner

LecrisUT commented Jan 3, 2024

It is not ideal because you need to run cmake --build twice to pick up changes on the commit/tag, etc. This is because it is consumed via configure_file

Potential alternatives:

  • Allow to provide a custom file(WRITE) script/function or other way to write the commit metadata at build time instead of configure time
@LecrisUT LecrisUT changed the title DynamicVersion: Rebuild trigger requires re-configuration DynamicVersion: New commits requires re-configuration Jan 3, 2024
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

No branches or pull requests

1 participant