We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Adding a new git tag does not force a re-configure if cmake variables with git_get_exact_tag
git_get_exact_tag
git_get_exact_tag(GIT_TAG) if(NOT GIT_TAG) set(GIT_TAG "") endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/gitinfo.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/gitinfo.cpp)
Some files:
gitinfo.h
extern const char g_GIT_TAG[];
gitinfo.cpp.in
#define GIT_TAG "@GIT_TAG@" const char g_GIT_TAG[] = GIT_TAG;
The text was updated successfully, but these errors were encountered:
Hmm. Is there a file with a known location that we can watch to trigger a re-configure?
Sorry, something went wrong.
I suppose you could check for changes in .git/refs/tags
.git/refs/tags
No branches or pull requests
Adding a new git tag does not force a re-configure if cmake variables with
git_get_exact_tag
Some files:
gitinfo.h
gitinfo.cpp.in
The text was updated successfully, but these errors were encountered: