🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
316 B

  1. EXECUTE_PROCESS(
  2. COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
  3. OUTPUT_VARIABLE GIT_BRANCH
  4. OUTPUT_STRIP_TRAILING_WHITESPACE
  5. )
  6. EXECUTE_PROCESS(
  7. COMMAND ${GIT_EXECUTABLE} log -1 --format=%h
  8. OUTPUT_VARIABLE GIT_COMMIT_HASH
  9. OUTPUT_STRIP_TRAILING_WHITESPACE
  10. )
  11. CONFIGURE_FILE(${SRC} ${DST})