Giter Club home page Giter Club logo

platform-cpp-sdk's Introduction

Enjin Platform SDK by Enjin for C++

License: LGPL 3.0 Build & Test

Open source SDK for connecting to and interacting with the Platform.

More documentation may be found on the Official Documentation Page.

Packages

Compatibility

The Enjin Platform C++ SDK is a C++20 shared-library and is developed with cross-platform usage in mind. Platform and compiler combinations tested are as follows:

  • GCC 11.3.0 on Linux-Ubuntu (64-bit)
  • Clang 14.0.0 on Linux-Ubuntu (64-bit)
  • MSVC 2022 version 17.0 on Windows 10 (64-bit)

Installation

The following dependencies are used for building the SDK:

The following libraries are used by the SDK for some of its functionality and must be locatable by CMake's find_package() function, however these libraries are not necessary to link to your own target to use this SDK:

To utilize this SDK you may clone it into your project tree with:

$ git clone https://github.com/enjin/platform-cpp-sdk.git

Then use the following in your project's CMakeLists file:

add_subdirectory(platform-cpp-sdk)
target_link_libraries(my_target PRIVATE EnjinPlatformSdk::Core)

To use supplemental packages, such as the Beam package, the CMake project for this SDK will need to be loaded with the necessary options. These options are:

  • ENJINSDK_INCLUDE_BEAM
  • ENJINSDK_INCLUDE_FUEL_TANKS
  • ENJINSDK_INCLUDE_MARKETPLACE

Once toggled on the packages may be linked as needed:

target_link_libraries(my_target PRIVATE
        EnjinPlatformSdk::Beam
        EnjinPlatformSdk::FuelTanks
        EnjinPlatformSdk::Marketplace)

Linux

Alternatively, on Linux you may include the SDK in your project by cloning and building it with the following commands:

$ git clone https://github.com/enjin/platform-cpp-sdk.git
$ cmake ./platform-cpp-sdk [options] && make -j -C ./platform-cpp-sdk

From here, you may use CMake's find_package() function to find EnjinPlatformSdk and link the library, EnjinPlatformSdk::Core to your target as well as any of the packages supporting different schemas.

Changelog

Please see CHANGELOG for more information on recent changes.

Contributing

Please see CONTRIBUTING for details.

Credits

License

This project is licensed under the LGPL 3.0 License. Please see LICENSE for more information.

platform-cpp-sdk's People

Contributors

bishopjohnson avatar bradez avatar

Watchers

Vyacheslav Volkov avatar Witek avatar Talles  avatar Leonardo Custodio avatar Simon Evans avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.