-
Notifications
You must be signed in to change notification settings - Fork 19
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
git_info in own subdirectory, documentation #218
Comments
Well, somehow I can not restore git_info.h generation in mathlibs_tester .... |
such composed CMakeFiles... does not have target git_info ...
|
strange ... although include(autocmake_git_info) is included, it behaves as it does not exist ... |
Found the problem, one has to include generate_git_info_header(${PROJECT_BINARY_DIR} git_info.h). Also documentation is fine, so closing this ticket. |
Good :-) Thanks for reporting. It can also mean that doc is not as clear as it could be. In this case please point me to the place which was confusingly or too sparsely formulated and we can see whether we can improve this. |
Hi, |
OK reopening. |
Well, to generalize this issue: if there are other cmake files defining some important macros, this has to be mentioned in the documentation. Otherwise use forgets to use the macro, like me. |
Hi Rado,
git_info module is sitting in own subdirectory, according to autocmake test,
and this is not mentioned in documentation:
https://autocmake.readthedocs.io/en/latest/module-reference.html#git-info-cmake
The text was updated successfully, but these errors were encountered: