Merge pull request #4835 from ligfx/configurefilescmrev

CMake: use configure_file to generate scmrev.h
This commit is contained in:
Mat M
2017-02-06 11:14:08 -05:00
committed by GitHub
2 changed files with 9 additions and 7 deletions

View File

@ -0,0 +1,5 @@
#define SCM_REV_STR "${DOLPHIN_WC_REVISION}"
#define SCM_DESC_STR "${DOLPHIN_WC_DESCRIBE}"
#define SCM_BRANCH_STR "${DOLPHIN_WC_BRANCH}"
#define SCM_IS_MASTER ${DOLPHIN_WC_IS_STABLE}
#define SCM_DISTRIBUTOR_STR "${DISTRIBUTOR}"