Skip to content

Commit

Permalink
adds Source Code Revision to EMsoft Header (was not initialized)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdegraef committed Aug 12, 2024
1 parent ef1e069 commit 5d9bd10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ execute_process( # get abbreviated hash
OUTPUT_STRIP_TRAILING_WHITESPACE
)

string(REPLACE "\n" "" EMsoftOO_SHORT_GIT_HASH "${EMsoftOO_SHORT_GIT_HASH}")

execute_process(COMMAND ${GIT_EXECUTABLE} log -1 --pretty='%cd' --date=format:%Y-%m-%d-%H:%M:%S
OUTPUT_VARIABLE GVS_GIT_COMMIT_DATE
RESULT_VARIABLE did_run
Expand Down

0 comments on commit 5d9bd10

Please sign in to comment.