Skip to content
Snippets Groups Projects
Commit 221a860c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Generate/use git_branch.h and git_hash.h for every make invocation

Allows reporting of branch/commit that was used to build the code.

If for some reason building without 'git', you'll need these 2 files to
already exist somehow - still need to work that out (e.g. for daily
built-source archives).

Need to update the Windows build to generate these files now.
parent e5fea17b
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
  • Developer

    Updated from git and now fails to compile.

    Compiling msg_id.c msg_id.c:24:10: fatal error: git_branch.h: No such file or directory 24 | #include "git_branch.h" | ^~~~~~~~~~~~~~ compilation terminated.

  • Author Owner

    Try a 'make clean' perhaps?

  • Developer

    I tried a make clean in sbbs3 then I did a cleanall.sh and still the same error.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment