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)
|
||||
- Support for PrivateBin API versions 1.3 and later
|
||||
|
||||
## Entwicklung & Build
|
||||
## Development & Build
|
||||
|
||||
### Voraussetzungen
|
||||
### Prerequisites
|
||||
|
||||
- CMake 3.10+
|
||||
- C++17-fähiger Compiler (MSVC 2022 bzw. GCC/Clang)
|
||||
- Git
|
||||
- vcpkg (wird bei Makefile-Nutzung automatisch gebootstrapped)
|
||||
|
||||
### Abhängigkeiten
|
||||
### Dependencies
|
||||
|
||||
- cryptopp (Crypto++)
|
||||
- nlohmann-json
|
||||
- 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
|
||||
@ -44,28 +44,28 @@ make
|
||||
make example
|
||||
```
|
||||
|
||||
Das Makefile erledigt:
|
||||
- vcpkg klonen & bootstrappen
|
||||
- Pakete aus `vcpkg.json` installieren
|
||||
- CMake mit vcpkg-Toolchain konfigurieren
|
||||
- Bibliothek und Beispiel bauen
|
||||
The Makefile does:
|
||||
- clone and bootstrap vcpkg
|
||||
- install packages from `vcpkg.json`
|
||||
- configure CMake with the vcpkg toolchain
|
||||
- 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"
|
||||
"$HOME/vcpkg/bootstrap-vcpkg.sh" # Linux/macOS
|
||||
# Windows (PowerShell):
|
||||
# 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"
|
||||
|
||||
# Bauen
|
||||
# Build
|
||||
cmake --build build --config Release
|
||||
|
||||
# Beispiel
|
||||
# Example
|
||||
cmake -S example -B example/build -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build example/build --config Release
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user