File tree 1 file changed +19
-9
lines changed
1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -8,29 +8,39 @@ Build RTClientSDK solution in Visual Studio 2017.
8
8
9
9
## Build with CMake (Windows & Linux)
10
10
11
- * Tested with GCC 7.
12
- * Tested with VS 2017.
11
+ * Tested with GCC 13.3.0
12
+ * Tested with Clang 18.1.3
13
+ * Tested with VS 2017 / MSVC 19.42
13
14
14
15
### Cloning the Repository
15
16
16
17
This project uses Git submodules. Ensure submodules are initialized after cloning:
17
18
18
- ` git clone --recursive <repository-url> `
19
+ ` git clone <repository-url> `
19
20
20
- If already cloned, initialize and update submodules:
21
+ ### Build As Static
22
+ ```
23
+ cmake -S . -B build -Dqualisys_cpp_sdk_OUTPUT_TYPE=STATIC && cmake --build build
24
+ ```
21
25
22
- ` git submodule update --init --recursive `
26
+ ### Build As Shared/Dynamic
27
+ ```
28
+ cmake -S . -B build -Dqualisys_cpp_sdk_OUTPUT_TYPE=SHARED && cmake --build build
29
+ ```
30
+
31
+ ### Build As Shared/Dynamic (With Versioning)
32
+ ```
33
+ cmake -S . -B build -Dqualisys_cpp_sdk_OUTPUT_TYPE=SHARED_VERSIONED && cmake --build build
34
+ ```
23
35
24
36
### Build Examples
25
37
```
26
- cmake -S . -B build -Dqualisys_cpp_sdk_BUILD_EXAMPLES=ON
27
- cmake --build build
38
+ cmake -S . -B build -Dqualisys_cpp_sdk_BUILD_EXAMPLES=ON && cmake --build build
28
39
```
29
40
30
41
### Build & Run Tests
31
42
```
32
- cmake -S . -B build -Dqualisys_cpp_sdk_BUILD_TESTS=ON
33
- cmake --build build
43
+ cmake -S . -B build -Dqualisys_cpp_sdk_BUILD_TESTS=ON && cmake --build build
34
44
ctest --test-dir build
35
45
```
36
46
You can’t perform that action at this time.
0 commit comments