mirror of https://github.com/status-im/evmc.git
buildinfo: Export buildinfo.json file
This commit is contained in:
parent
98a683e05e
commit
04318d3f44
|
@ -70,5 +70,6 @@ message(
|
|||
)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/buildinfo.c.in ${OUTPUT_DIR}/buildinfo.c)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/buildinfo.json.in ${OUTPUT_DIR}/buildinfo.json)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/buildinfo.sh.in ${OUTPUT_DIR}/buildinfo.sh)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/buildinfo.ps1.in ${OUTPUT_DIR}/buildinfo.ps1)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "@PROJECT_NAME@",
|
||||
"version": "@PROJECT_VERSION@",
|
||||
"is_prerelease": @PROJECT_VERSION_IS_PRERELEASE@,
|
||||
"commit": "@GIT_COMMIT_HASH@",
|
||||
"branch": "@GIT_BRANCH@",
|
||||
"repo": "@GIT_ORIGIN_URL@",
|
||||
"system_name": "@SYSTEM_NAME@",
|
||||
"system_processor": "@SYSTEM_PROCESSOR@"
|
||||
}
|
Loading…
Reference in New Issue