diff options
| author | Joshua Vandaƫle <joshua@vandaele.software> | 2026-07-27 03:22:53 +0200 |
|---|---|---|
| committer | Joshua Vandaƫle <joshua@vandaele.software> | 2026-07-27 07:09:11 +0200 |
| commit | 55c015e6ac74b0ecce7f30b4aed499f02fa9c5bd (patch) | |
| tree | 39548e7616621deed80c678d1e25f2bf0f431b58 /CMake | |
| parent | d742aa8b4c4d052f7dceaa39022b1fe3996f1781 (diff) | |
AchievementApprovedHash: Automatically generate hash using CMake
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/GenerateAchievementHash.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMake/GenerateAchievementHash.cmake b/CMake/GenerateAchievementHash.cmake new file mode 100644 index 0000000000..5f62e43f72 --- /dev/null +++ b/CMake/GenerateAchievementHash.cmake @@ -0,0 +1,5 @@ +# This file exists to be consumed via `add_custom_command` +# so that file changes are picked up without needing a full reconfigure + +file(SHA1 ${JSON_FILE} ACHIEVEMENT_APPROVED_LIST_HASH) +configure_file(${TEMPLATE_FILE} ${OUTPUT_FILE} @ONLY) |
