add timestamp to manifest
This commit is contained in:
@@ -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 "")
|
||||||
|
|||||||
@@ -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}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user