aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md8
-rw-r--r--vcpkg-configuration.json28
3 files changed, 22 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index 6623964..5cf2f9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@ build/
_deps/
CMakeFiles/
out/
+Testing/
Makefile
CTestTestfile.cmake
CMakeCache.txt
diff --git a/README.md b/README.md
index b38e83f..de4d3ad 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ This project uses CMake as its build system, and vcpkg as its dependency manager
- C++17 compiler
- vcpkg
-### Build Targets
+### Building and Testing
The SDK aims to support Linux, Windows, and macOS build targets. CMake presets are provided for each target.
@@ -24,3 +24,9 @@ To build the SDK on Linux, run the following commands from the project root:
cmake --preset=linux .
cmake --build ./build/linux
```
+
+To run unit tests, use the following command:
+
+```bash
+ctest ./build/linux
+```
diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json
index 850abfe..4b6ae85 100644
--- a/vcpkg-configuration.json
+++ b/vcpkg-configuration.json
@@ -1,14 +1,14 @@
-{
- "default-registry": {
- "kind": "git",
- "baseline": "582a4de14bef91df217f4f49624cf5b2b04bd7ca",
- "repository": "https://github.com/microsoft/vcpkg"
- },
- "registries": [
- {
- "kind": "artifact",
- "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
- "name": "microsoft"
- }
- ]
-}
+{
+ "default-registry": {
+ "kind": "git",
+ "baseline": "582a4de14bef91df217f4f49624cf5b2b04bd7ca",
+ "repository": "https://github.com/microsoft/vcpkg"
+ },
+ "registries": [
+ {
+ "kind": "artifact",
+ "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
+ "name": "microsoft"
+ }
+ ]
+}