mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
Maintain semantic version info in core/version.h (#1630)
Remove version info from config_common.cmake, ref to #1617
This commit is contained in:
parent
4a1e522c53
commit
b5eea934cf
|
@ -109,22 +109,6 @@ else ()
|
||||||
unset (LLVM_AVAILABLE_LIBS)
|
unset (LLVM_AVAILABLE_LIBS)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
########################################
|
|
||||||
## semantic version information
|
|
||||||
|
|
||||||
if (NOT DEFINED WAMR_VERSION_MAJOR)
|
|
||||||
set (WAMR_VERSION_MAJOR 1)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
if (NOT DEFINED WAMR_VERSION_MINOR)
|
|
||||||
set (WAMR_VERSION_MINOR 1)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
if (NOT DEFINED WAMR_VERSION_PATCH)
|
|
||||||
set (WAMR_VERSION_PATCH 1)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
configure_file(${WAMR_ROOT_DIR}/core/version.h.in ${WAMR_ROOT_DIR}/core/version.h @ONLY)
|
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
message ("-- Build Configurations:")
|
message ("-- Build Configurations:")
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Please don't modify this header. It is automatically generated.
|
|
||||||
Any modification should be in config_common.cmake */
|
|
||||||
|
|
||||||
#ifndef _WAMR_VERSION_H_
|
#ifndef _WAMR_VERSION_H_
|
||||||
#define _WAMR_VERSION_H_
|
#define _WAMR_VERSION_H_
|
||||||
#define WAMR_VERSION_MAJOR 1
|
#define WAMR_VERSION_MAJOR 1
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
||||||
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Please don't modify this header. It is automatically generated.
|
|
||||||
Any modification should be in config_common.cmake */
|
|
||||||
|
|
||||||
#ifndef _WAMR_VERSION_H_
|
|
||||||
#define _WAMR_VERSION_H_
|
|
||||||
#cmakedefine WAMR_VERSION_MAJOR @WAMR_VERSION_MAJOR@
|
|
||||||
#define WAMR_VERSION_MINOR @WAMR_VERSION_MINOR@
|
|
||||||
#define WAMR_VERSION_PATCH @WAMR_VERSION_PATCH@
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue
Block a user