chore(cpn): Automate setting Companion Help About copyright year (#4578)

This commit is contained in:
Neil Horne
2024-01-28 11:24:03 +10:00
committed by GitHub
parent 06babbdae8
commit 0413643b1c
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -92,6 +92,8 @@ include_directories(
)
############# Do macro replacements on input files #############
string(TIMESTAMP BUILD_YEAR "%Y")
configure_file(${COMPANION_SRC_DIRECTORY}/version.h.in ${CMAKE_BINARY_DIR}/version.h @ONLY)
configure_file(${COMPANION_SRC_DIRECTORY}/companion.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/companion.desktop @ONLY)
configure_file(${COMPANION_SRC_DIRECTORY}/simulator.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/simulator.desktop @ONLY)