- Update version to 2.3.0 - Update RELEASE_NOTES.md. Remove commits that forget to squash when PRs were merged, and some updates on commit messages --------- Co-authored-by: James Marsh <mrshnja@amazon.co.uk> Co-authored-by: liang.he@intel.com <liang.he@intel.com> Co-authored-by: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com>
29 lines
785 B
CMake
29 lines
785 B
CMake
# Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
if(NOT WAMR_ROOT_DIR)
|
|
# if from wamr-compiler
|
|
set(WAMR_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR}/..)
|
|
endif()
|
|
|
|
set(WAMR_VERSION_MAJOR 2)
|
|
set(WAMR_VERSION_MINOR 3)
|
|
set(WAMR_VERSION_PATCH 0)
|
|
|
|
message("-- WAMR version: ${WAMR_VERSION_MAJOR}.${WAMR_VERSION_MINOR}.${WAMR_VERSION_PATCH}")
|
|
|
|
# Configure the version header file
|
|
configure_file(
|
|
${WAMR_ROOT_DIR}/core/version.h.in
|
|
${WAMR_ROOT_DIR}/core/version.h
|
|
)
|
|
|
|
# Set the library version and SOVERSION
|
|
function(set_version_info target)
|
|
set_target_properties(${target}
|
|
PROPERTIES
|
|
VERSION ${WAMR_VERSION_MAJOR}.${WAMR_VERSION_MINOR}.${WAMR_VERSION_PATCH}
|
|
SOVERSION ${WAMR_VERSION_MAJOR}
|
|
)
|
|
endfunction()
|