Add a copyright text to the Windows resources file.

This commit is contained in:
Username404-59 2021-07-07 15:57:20 +02:00
parent 416ab3a30e
commit e59ce68760
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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@"