diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 5ee2909..b6b6eb4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -62,7 +62,7 @@ jobs: id: package run: | cmake --build build --config Release --target package - $FILE=(ls build/libeosio*.zip) + $FILE=(ls build/libantelope*.zip) echo "::set-output name=filename::$FILE" echo "::set-output name=name::$(([io.fileinfo]"$FILE").basename).zip" diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ad0f0c..8fa4f8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,10 +5,10 @@ cmake_minimum_required(VERSION 3.15) # -------------------------------- # Project name and version -project(libeosio +project(libantelope VERSION 0.1.7 - DESCRIPTION "C++ library for EOSIO" - HOMEPAGE_URL "https://github.com/eosswedenorg/libeosio" + DESCRIPTION "C++ library for Antelope IO" + HOMEPAGE_URL "https://github.com/eosswedenorg/libantelope" LANGUAGES C CXX ) diff --git a/README.md b/README.md index b9ded7c..b1a33fd 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -![](https://github.com/eosswedenorg/libeosio/workflows/CI/badge.svg) -[![GitHub release](https://img.shields.io/github/v/release/eosswedenorg/libeosio?include_prereleases)](https://github.com/eosswedenorg/libeosio/releases/latest) +![](https://github.com/eosswedenorg/libantelope/workflows/CI/badge.svg) +[![GitHub release](https://img.shields.io/github/v/release/eosswedenorg/libleap?include_prereleases)](https://github.com/eosswedenorg/libantelope/releases/latest) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -# libeosio +# libleap -Independent C++ library for [EOS](https://eos.io/) +Independent C++ library for [Antelope IO](https://antelope.io) (former [libeosio](https://github.com/eosswedenorg/libeosio)) -NOTE: This repository has no connection to the official EOS code. +NOTE: This repository has no connection to the official Antelope code. ## Compiling the library @@ -110,7 +110,7 @@ C:\repo> cmake --build build --config Release ## Security notice Elliptic curve crypthographic operations is done using either `OpenSSL` or `libsecp256k1` libraries. -This library (libeosio) will never expose sensitve cryptographic information +This library (libleap) will never expose sensitve cryptographic information to anything but the computers memory. You are free to inspect the source code and compile yourself to verify. diff --git a/cmake/libantelopeConfig.cmake.in b/cmake/libantelopeConfig.cmake.in new file mode 100644 index 0000000..fcb6456 --- /dev/null +++ b/cmake/libantelopeConfig.cmake.in @@ -0,0 +1,26 @@ +# This script provides the libantelope as an import target +# ---------------------------------------------------------- +# +# Use find_package() so cmake will find libantelope: +# +# find_package(libantelope) # No specific version +# find_package(libantelope REQUIRED) # No specific version, but the library must be found. +# find_package(libantelope 0.1) # any 0.1.x, but the library is optional. +# find_package(libeantelope 0.1.0) # 0.1.0 or greater, but the library is optional. +# +# Then you just link the you target with eoskeygen target: +# +# target_link_libraries( ${PROGRAM_EXE} PUBLIC libantelope ) +# +# if you do not specify REQUIRED. you must check the variable libantelope_FOUND +# and and only link to it if it's defined: +# +# if (libantelope_FOUND) +# ... +# target_link_libraries( ${PROGRAM_EXE} PUBLIC libantelope ) +# .. +# endif() + +set(LIBANTELOPE_VERSION "@PROJECT_VERSION@") + +include ( "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake" ) diff --git a/cmake/libeosioConfig.cmake.in b/cmake/libeosioConfig.cmake.in deleted file mode 100644 index dfc2ca9..0000000 --- a/cmake/libeosioConfig.cmake.in +++ /dev/null @@ -1,26 +0,0 @@ -# This script provides the libeosio as an import target -# ---------------------------------------------------------- -# -# Use find_package() so cmake will find libeosio: -# -# find_package(libeosio) # No specific version -# find_package(libeosio REQUIRED) # No specific version, but the library must be found. -# find_package(libeosio 0.1) # any 0.1.x, but the library is optional. -# find_package(libeosio 0.1.0) # 0.1.0 or greater, but the library is optional. -# -# Then you just link the you target with eoskeygen target: -# -# target_link_libraries( ${PROGRAM_EXE} PUBLIC libeosio ) -# -# if you do not specify REQUIRED. you must check the variable libeosio_FOUND -# and and only link to it if it's defined: -# -# if (libeosio_FOUND) -# ... -# target_link_libraries( ${PROGRAM_EXE} PUBLIC libeosio ) -# .. -# endif() - -set(LIBEOSIO_VERSION "@PROJECT_VERSION@") - -include ( "${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake" )