C++ wrapper for Labs64 NetLicensing RESTful API
C++ wrapper for Labs64 NetLicensing RESTful API
Visit Labs64 NetLicensing at https://netlicensing.io
Platform | Build toolset |
---|---|
Windows 7 | Visual studio 14 2015 x86 - x64 |
Windows 7 | Visual studio 15 2017 x86 - x64 |
Windows 10 | Visual studio 14 2015 x86 - x64 |
Windows 10 | Visual studio 15 2017 x86 - x64 |
macOS Mojave | Xcode 10.1 |
cd curl_directory\winbuild
BUILD_WINDOWS.txt
for building instructions(replace
nmake /f Makefile.vc VC=15 MACHINE=x64 ENABLE_WINSSL=yes MODE=dll
VC
and MACHINE
with your actual version / platform)U1073
or U1077
- execute curl_directory\buildconf.bat
first and repeat the nmake
commandcurl
build directory will be in sub directory builds\
NetLicensingClient-cpp
(or checkout master to build the latest development version)NetLicensingClient-cpp
directory create build\
subdirectoryCMAKE_PREFIX_PATH=your_curl_build_directory
. curl build directory must contain bin
, include
, and lib
subdirs.(replace
cd NetLicensingClient-cpp\build
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=your_curl_build_directory
-G
argument with your actual version / platform, see cmake
documentation)NetLicensingClient-cpp\build
directory in Visual Studio and build the library and demo client.NetLicensingClient-cpp
(or checkout master to build the latest development version)sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libboost-all-dev
NetLicensingClient-cpp
directory create build/
subdirectory
cd NetLicensingClient-cpp/build
cmake ..
make
Unit tests require Boost Unit Test Framework. To build project with the unit tests activated add cmake option -DBUILD_TESTS=yes
. The tests must be executed from tests/
subdirectory on Linux or tests\Debug\
on Windows in order to properly locate the JSON files with test data.
TODO: full description
Prepare container
Map NetLicensingClient-cpp
or clone it inside the container
Build as described in Linux Build
TODO: full description
Prepare environment:
homebrew
libcurl
is providedbrew install cmake boost
Build as described in Linux Build
libcurl dynamic library should be either installed system-wide or otherwise available for the loading at run-time (typically located in the same directory as your executable)