add timestamp to manifest

This commit is contained in:
2021-08-17 18:18:33 +03:00
parent a558af3800
commit 982887bb98
2 changed files with 3 additions and 1 deletions

View File

@@ -429,6 +429,7 @@ macro(deploy_target _T)
set(_TARGET_OS "???") set(_TARGET_OS "???")
set(_TARGET_ARCH "???") set(_TARGET_ARCH "???")
set(_TARGET_PACKAGE "???") set(_TARGET_PACKAGE "???")
string(TIMESTAMP _TARGET_TIMESTAMP "%Y-%m-%d %H:%M:%S")
if ("x${CMAKE_SYSTEM_NAME}" STREQUAL "xLinux") if ("x${CMAKE_SYSTEM_NAME}" STREQUAL "xLinux")
set(_os_id "") set(_os_id "")
set(_os_ver "") set(_os_ver "")

View File

@@ -5,5 +5,6 @@
"company": "${_TARGET_COMPANY}", "company": "${_TARGET_COMPANY}",
"info": "${_TARGET_INFO}", "info": "${_TARGET_INFO}",
"system": "${_TARGET_OS}", "system": "${_TARGET_OS}",
"arch": "${_TARGET_ARCH}" "arch": "${_TARGET_ARCH}",
"timestamp": "${_TARGET_TIMESTAMP}"
} }