Add a copyright text to the Windows resources file.
This commit is contained in:
parent
416ab3a30e
commit
e59ce68760
|
@ -10,6 +10,7 @@ if (NOT DEFINED CODENAME)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(EXEDESC "Transpiler for the yerbacon language.")
|
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")
|
file(COPY "resources/${PROJECT_NAME}.ico" DESTINATION "processed")
|
||||||
configure_file("resources/${PROJECT_NAME}.manifest" "processed/${PROJECT_NAME}.manifest" @ONLY)
|
configure_file("resources/${PROJECT_NAME}.manifest" "processed/${PROJECT_NAME}.manifest" @ONLY)
|
||||||
configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ONLY)
|
configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ONLY)
|
||||||
|
|
|
@ -14,7 +14,7 @@ BEGIN
|
||||||
VALUE "FileDescription", "@EXEDESC@"
|
VALUE "FileDescription", "@EXEDESC@"
|
||||||
VALUE "FileVersion", "@CMAKE_PROJECT_VERSION@"
|
VALUE "FileVersion", "@CMAKE_PROJECT_VERSION@"
|
||||||
VALUE "InternalName", "@EXENAME@"
|
VALUE "InternalName", "@EXENAME@"
|
||||||
VALUE "LegalCopyright", ""
|
VALUE "LegalCopyright", "@LEGALCOPYRIGHT@"
|
||||||
VALUE "OriginalName", "@EXENAME@.exe"
|
VALUE "OriginalName", "@EXENAME@.exe"
|
||||||
VALUE "ProductName", "@PROJECT_NAME@"
|
VALUE "ProductName", "@PROJECT_NAME@"
|
||||||
VALUE "ProductVersion", "@CODENAME@ @CMAKE_PROJECT_VERSION@"
|
VALUE "ProductVersion", "@CODENAME@ @CMAKE_PROJECT_VERSION@"
|
||||||
|
|
Loading…
Reference in New Issue