From e59ce687606bdc81984dc6345cfbd3516af8deb3 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 7 Jul 2021 15:57:20 +0200 Subject: [PATCH] Add a copyright text to the Windows resources file. --- CMakeLists.txt | 1 + resources/Yerbacon.rc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a74528..99c96b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ if (NOT DEFINED CODENAME) endif() set(EXEDESC "Transpiler for the yerbacon language.") +string(TIMESTAMP LEGALCOPYRIGHT "Copyright %Y - Licensed under the MPL-2.0") file(COPY "resources/${PROJECT_NAME}.ico" DESTINATION "processed") configure_file("resources/${PROJECT_NAME}.manifest" "processed/${PROJECT_NAME}.manifest" @ONLY) configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ONLY) diff --git a/resources/Yerbacon.rc b/resources/Yerbacon.rc index b9a566c..4572fcd 100644 --- a/resources/Yerbacon.rc +++ b/resources/Yerbacon.rc @@ -14,7 +14,7 @@ BEGIN VALUE "FileDescription", "@EXEDESC@" VALUE "FileVersion", "@CMAKE_PROJECT_VERSION@" VALUE "InternalName", "@EXENAME@" - VALUE "LegalCopyright", "" + VALUE "LegalCopyright", "@LEGALCOPYRIGHT@" VALUE "OriginalName", "@EXENAME@.exe" VALUE "ProductName", "@PROJECT_NAME@" VALUE "ProductVersion", "@CODENAME@ @CMAKE_PROJECT_VERSION@"