You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.[boost](https://www.boost.org/) (optional, needed for unit tests)
20
+
18
21
19
22
## Compatibility
20
23
@@ -32,6 +35,7 @@ Windows 10 | Visual studio 14 2015 x86 - x64
32
35
Windows 10 | Visual studio 15 2017 x86 - x64
33
36
macOS Mojave | Xcode 10.1
34
37
38
+
35
39
## Windows build
36
40
37
41
### Build curl
@@ -58,12 +62,14 @@ macOS Mojave | Xcode 10.1
58
62
(replace `-G` argument with your actual version / platform, see [`cmake` documentation](https://cmake.org/cmake/help/latest/))
59
63
5. Open solution created in `NetLicensingClient-cpp\build` directory in Visual Studio and build the library and demo client.
60
64
65
+
61
66
## Linux build
62
67
63
68
### Build NetLincesing-cpp
64
69
1. Download the latest release and unpack to `NetLicensingClient-cpp` (or checkout [master](https://github.com/Labs64/NetLicensingClient-cpp.git) to build the latest development version)
65
-
2. Install **curl** (for development, including C headers and libraries). E.g. in **Ubuntu**:
66
-
```sudo apt-get install libcurl4-openssl```
70
+
2. Install **libcurl** (for development, including C headers and libraries). E.g. in **Ubuntu**:
3. In the `NetLicensingClient-cpp` directory create `build/` subdirectory
68
74
4. Execute:
69
75
```
@@ -77,6 +83,33 @@ macOS Mojave | Xcode 10.1
77
83
Unit tests require [**Boost**](https://www.boost.org) 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.
2. Map `NetLicensingClient-cpp` or clone it inside the container
96
+
97
+
3. Build as described in [Linux Build](#linux-build)
98
+
99
+
100
+
## MacOS build
101
+
102
+
_TODO: full description_
103
+
104
+
1. Prepare environment:
105
+
- Install XCode 10.1+
106
+
- Install `homebrew`
107
+
-`libcurl` is provided
108
+
-`brew install cmake boost`
109
+
110
+
2. Build as described in [Linux Build](#linux-build)
111
+
112
+
80
113
## Execution environment
81
114
82
115
**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)
0 commit comments