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
Building <b>NetLicensing C++ client library</b> with static linking is not supported.
19
+
20
+
Platform | Build toolset | Supported
21
+
------------ | ------------- | -------------
22
+
Windows 7 | Visual studio 14 2015 x86 - x64 | [x]
23
+
Windows 7 | Visual studio 15 2017 x86 - x64 | [x]
24
+
Windows 10 | Visual studio 14 2015 x86 - x64 | [x]
25
+
Windows 10 | Visual studio 15 2017 x86 - x64| [x]
26
+
macOS Mojave | Xcode 10.1 | [x]
15
27
16
28
## Windows build
17
29
18
30
### Build curl
19
-
1. Download curl from https://github.com/curl/curl/releases
31
+
1. Download <b>curl</b> from https://github.com/curl/curl/releases
20
32
2. <code>cd curl_directory\winbuild</code>
21
33
3. Read <code>BUILD_WINDOWS.txt</code> for building instructions
22
-
4. In VC command prompt run command like
34
+
4. In <b>VC command prompt:</b>
23
35
<pre>
24
36
<code>
25
37
nmake /f Makefile.vc VC=<VC versions> MACHINE=<x86 or x64> ENABLE_WINSSL=<b>yes</b> MODE=<b>dll</b>
26
38
</code>
27
39
</pre>
28
-
5. If you get the error "U1073" or "U1077" - execute <code>curl_directory\buildconf.bat</code> first and repeat command
29
-
6. Your curl build directory will be in sub directory <code>\builds</code>
40
+
5. If you get the error <code>U1073</code> or <code>U1077</code> - execute <code>curl_directory\buildconf.bat</code> first and repeat command
41
+
6. Your <b>curl</b> build directory will be in sub directory <code>\builds</code>
30
42
31
43
### Build NetLicensing C++ client
32
-
1.Checkout project
33
-
2. In NetLicensingClient-cpp create build directory
34
-
3.Setup curl home directory for example using CMAKE_PREFIX_PATH=your_curl_build_directory. Build directory contains <b>bin</b>, <b>include</b> and <b>lib</b> subdirs.
35
-
3. In VC Command prompt:
44
+
1.Download latest release and unpack to <code>NetLicensingClient-cpp</code> (checkout muster if you want to build latest development version)
45
+
2. In <code>NetLicensingClient-cpp</code> create <code>build</code> directory
3. In <code>NetLicensingClient-cpp</code> create <code>build</code> directory
64
+
3. Run <code>cmake ..</code> from <code>build</code> directory
65
+
4. Run <code>make</code>
53
66
54
67
### Unit tests
55
68
56
-
For unit tests you need installed boost unit test library. To build project with unit tests activated use cmake option -DBUILD_TESTS=yes. For example cmake -DBUILD_TESTS=yes .. . Run tests exactly from tests directory in linux or tests/Debug on windows because of expected positions of json source files.
69
+
For unit tests you need installed <b>boost</b> unit test library. To build project with unit tests activated use cmake option <code>-DBUILD_TESTS=yes</code>. For example <code>cmake -DBUILD_TESTS=yes ..</code> . Run tests from <code>tests</code> directory on Linux or <code>tests/Debug</code> on Windows because of expected locations of json source files.
70
+
71
+
72
+
## Note
73
+
74
+
The <b>curl</b> dynamic library should be installed either system-wide or placed along with your executable file.
0 commit comments