Skip to content

Commit de97be5

Browse files
committed
document build steps
1 parent 4078cd9 commit de97be5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+

0 commit comments

Comments
 (0)