1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-22 10:03:41 +02:00

README.md: more restructure of the compile steps.

This commit is contained in:
Henrik Hautakoski 2020-02-28 12:55:11 +01:00
parent 48f89105c6
commit bde7afbc4e

View file

@ -15,13 +15,20 @@ You will need `openssl` development files (version 1.1 or later) to compile and
#### Dependencies #### Dependencies
**Linux: Ubuntu 16.04/18.04** #### Linux
**Ubuntu:**
```sh ```sh
$ apt-get install gcc g++ cmake libssl-dev $ apt-get install gcc g++ libssl-dev
``` ```
On ubuntu 16.04 and 18.04 you most likley will get `CMake 3.15 or higher is required. You are running version <xxx>` **Other**: Consult the manual for you package manager.
You can obtain a newer version from [kitware](https://apt.kitware.com):
**CMake**
If your package manager don't provide a sufficiently new version of cmake, you can install it with these commands:
Ubuntu 16.04/18.04 - [kitware](https://apt.kitware.com) ppa:
```sh ```sh
$ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - $ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
@ -29,21 +36,15 @@ $ sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ `lsb_release -cs`
$ sudo apt-get install cmake $ sudo apt-get install cmake
``` ```
**Linux: Other** shell script:
Consult the manual for how to get these installed.
**Linux: CMake manual install**
If your package manager don't provide a sufficiently new version of cmake, you can install it manually with this command:
```sh ```sh
$ wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh && sh ./cmake.sh --prefix=/usr/local --skip-license $ wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5-Linux-x86_64.sh && sudo sh ./cmake.sh --prefix=/usr/local --skip-license
``` ```
Other methods is documanted at https://cmake.org/download Other methods is documanted at https://cmake.org/download
**MacOS** #### MacOS
You must have a compiler installed. This project is known to build with `Xcode 11.0` but other versions should work. You must have a compiler installed. This project is known to build with `Xcode 11.0` but other versions should work.