File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Building 1DS C++ SDK with cmake on Windows
2
+
3
+ ### Pre-requisite:
4
+
5
+ - Windows SDK for C++
6
+ - CMake
7
+
8
+ ### Steps:
9
+
10
+ 1 . Clone the repo
11
+
12
+ PS C:\> git clone https://github.com/microsoft/cpp_client_telemetry.git
13
+
14
+
15
+ 2 . Fetch the submodules (specifically the vcpkg port):
16
+
17
+ PS C:\cpp_client_telemetry> git submodule update --init
18
+
19
+ 3 . Create CMake configuration
20
+
21
+ PS C:\cpp_client_telemetry> mkdir build
22
+ PS C:\cpp_client_telemetry> cd build
23
+ PS C:\cpp_client_telemetry\build> cmake -DCMAKE_TOOLCHAIN_FILE=..\tools\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..
24
+
25
+ 4 . Run CMake build
26
+
27
+ PS C:\cpp_client_telemetry\build> cmake --build .
28
+
29
+ This should build the 1DS C++ library, along with the functional and unit tests in ` build ` folder
30
+
31
+
You can’t perform that action at this time.
0 commit comments