-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
33 lines (28 loc) · 1.34 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Overview
========
QubeWireClient is a C++ application demonstrating Qube Wire mastering APIs. It demonstrates the following functionalities of a mastering client.
- Logging in and acquiring access token
- Obtaining logged in user and company information
- Signing a CPL/PKL using Qube Wire
- Uploading DKDM into Qube Wire
Dependencies
============
The following C++ libraries are required to build QubeWireClient.
- Boost v1.58.0 or latest
- cpp-netlib v0.11.1 or latest
- OpenSSL 1.0.2 or latest
Build Instructions
=================
Extract the source of QubeWireClient into a directory and execute the following inside the directory.
Linux and Mac OSX:
$ mkdir build
$ cd build
$ cmake -DCPP-NETLIB_INCLUDE_DIR=<cpp-netLib include dir path> -DCPP-NETLIB_LIBRARY_DIR=<cpp-NetLib library dir path> ..
$ make
The above cmake command assumes OpenSSL and Boost are installed in system default directories. Refer the below Windows build instructions to use OpenSSL/Boost from non-system default directores.
Windows:
$ mkdir build
$ cd build
$ set OPENSSL_ROOT_DIR=<openssl dir path>
$ cmake -DBOOST_INCLUDEDIR=<boost include dir path> -DBOOST_LIBRARYDIR=<boost library dir path> -DCPP-NETLIB_INCLUDE_DIR=<cpp-netLib include dir path> -DCPP-NETLIB_LIBRARY_DIR=<cpp-netLib library dir path> ..
$ make