diff --git a/build-scripts/config_common.cmake b/build-scripts/config_common.cmake index 201f9499..52a2aa7c 100644 --- a/build-scripts/config_common.cmake +++ b/build-scripts/config_common.cmake @@ -109,22 +109,6 @@ else () unset (LLVM_AVAILABLE_LIBS) 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:") diff --git a/core/version.h b/core/version.h index 0ab4312a..4a528c42 100644 --- a/core/version.h +++ b/core/version.h @@ -3,9 +3,6 @@ * 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_ #define WAMR_VERSION_MAJOR 1 diff --git a/core/version.h.in b/core/version.h.in deleted file mode 100644 index 882305a8..00000000 --- a/core/version.h.in +++ /dev/null @@ -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