mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
acc8dae2b3
The built-in `configure_file` command correctly handles the case where none of the variables change and scmrev.h doesn't need to be rebuilt. This saves a full re-link of Dolphin any time CMake is re-run.
6 lines
229 B
C
6 lines
229 B
C
#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}"
|