Translate German sections in README to English
This commit is contained in:
32
README.md
32
README.md
@ -14,25 +14,25 @@ This library provides a simple C++ interface for interacting with PrivateBin ser
|
|||||||
- Cross-platform compatibility (Windows and Linux)
|
- Cross-platform compatibility (Windows and Linux)
|
||||||
- Support for PrivateBin API versions 1.3 and later
|
- Support for PrivateBin API versions 1.3 and later
|
||||||
|
|
||||||
## Entwicklung & Build
|
## Development & Build
|
||||||
|
|
||||||
### Voraussetzungen
|
### Prerequisites
|
||||||
|
|
||||||
- CMake 3.10+
|
- CMake 3.10+
|
||||||
- C++17-fähiger Compiler (MSVC 2022 bzw. GCC/Clang)
|
- C++17-fähiger Compiler (MSVC 2022 bzw. GCC/Clang)
|
||||||
- Git
|
- Git
|
||||||
- vcpkg (wird bei Makefile-Nutzung automatisch gebootstrapped)
|
- vcpkg (wird bei Makefile-Nutzung automatisch gebootstrapped)
|
||||||
|
|
||||||
### Abhängigkeiten
|
### Dependencies
|
||||||
|
|
||||||
- cryptopp (Crypto++)
|
- cryptopp (Crypto++)
|
||||||
- nlohmann-json
|
- nlohmann-json
|
||||||
- Windows: WinHTTP (SDK)
|
- Windows: WinHTTP (SDK)
|
||||||
- Linux: libcurl (wird automatisch über vcpkg genutzt)
|
- Linux: libcurl (used automatically via vcpkg)
|
||||||
|
|
||||||
### Schnellstart mit Makefile (Windows & Linux)
|
### Quick start with Makefile (Windows & Linux)
|
||||||
|
|
||||||
1) Abhängigkeiten installieren, konfigurieren und bauen:
|
1) Install dependencies, configure, and build:
|
||||||
|
|
||||||
```
|
```
|
||||||
make
|
make
|
||||||
@ -44,28 +44,28 @@ make
|
|||||||
make example
|
make example
|
||||||
```
|
```
|
||||||
|
|
||||||
Das Makefile erledigt:
|
The Makefile does:
|
||||||
- vcpkg klonen & bootstrappen
|
- clone and bootstrap vcpkg
|
||||||
- Pakete aus `vcpkg.json` installieren
|
- install packages from `vcpkg.json`
|
||||||
- CMake mit vcpkg-Toolchain konfigurieren
|
- configure CMake with the vcpkg toolchain
|
||||||
- Bibliothek und Beispiel bauen
|
- build the library and the example
|
||||||
|
|
||||||
### Manuell mit CMake
|
### Manual with CMake
|
||||||
|
|
||||||
```
|
```
|
||||||
# vcpkg klonen & bootstrappen
|
# clone and bootstrap vcpkg
|
||||||
git clone https://github.com/microsoft/vcpkg.git "$HOME/vcpkg"
|
git clone https://github.com/microsoft/vcpkg.git "$HOME/vcpkg"
|
||||||
"$HOME/vcpkg/bootstrap-vcpkg.sh" # Linux/macOS
|
"$HOME/vcpkg/bootstrap-vcpkg.sh" # Linux/macOS
|
||||||
# Windows (PowerShell):
|
# Windows (PowerShell):
|
||||||
# powershell -NoProfile -ExecutionPolicy Bypass -Command "& '$env:USERPROFILE\vcpkg\bootstrap-vcpkg.bat'"
|
# powershell -NoProfile -ExecutionPolicy Bypass -Command "& '$env:USERPROFILE\vcpkg\bootstrap-vcpkg.bat'"
|
||||||
|
|
||||||
# Konfigurieren
|
# Configure
|
||||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake"
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$HOME/vcpkg/scripts/buildsystems/vcpkg.cmake"
|
||||||
|
|
||||||
# Bauen
|
# Build
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release
|
||||||
|
|
||||||
# Beispiel
|
# Example
|
||||||
cmake -S example -B example/build -DCMAKE_BUILD_TYPE=Release
|
cmake -S example -B example/build -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build example/build --config Release
|
cmake --build example/build --config Release
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user