You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Konstantin Lebedev 7c597c19c1 initial 2 years ago
..
.openapi-generator initial 2 years ago
include/CppRestOpenAPIClient initial 2 years ago
src initial 2 years ago
.gitignore initial 2 years ago
.openapi-generator-ignore initial 2 years ago
CMakeLists.txt initial 2 years ago
Config.cmake.in initial 2 years ago
README.md initial 2 years ago
git_push.sh initial 2 years ago

README.md

C++ API client

The Seaweedfs Master Server API allows you to store blobs

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI spec from a remote server, you can easily generate an API client.

  • API version: 3.43.0

  • Package version:

  • Build package: org.openapitools.codegen.languages.CppRestSdkClientCodegen

  • API namespace: org.openapitools.client.api

  • Model namespace: org.openapitools.client.model

Installation

Prerequisites

Install cpprestsdk.

  • Windows: vcpkg install cpprestsdk cpprestsdk:x64-windows boost-uuid boost-uuid:x64-windows
  • Mac: brew install cpprestsdk
  • Linux: sudo apt-get install libcpprest-dev

Build

cmake -DCPPREST_ROOT=/usr -DCMAKE_CXX_FLAGS="-I/usr/local/opt/openssl/include" -DCMAKE_MODULE_LINKER_FLAGS="-L/usr/local/opt/openssl/lib"
make

Build on Windows with Visual Studio (VS2017)

  • Right click on folder containing source code
  • Select 'Open in visual studio'
  • Once visual studio opens, CMake should show up in top menu bar.
  • Select CMake > Build All.

*Note: If the CMake menu item doesn't show up in Visual Studio, CMake for Visual Studio must be installed. In this case, open the 'Visual Studio Installer' application. Select 'modify' Visual Studio 2017. Make sure 'Desktop Development with C++' is installed, and specifically that 'Visual C++ tools for CMake' is selected in the 'Installation Details' section.

Also be sure to review the CMakeLists.txt file. Edits are likely required.*

Author