Skip to content
Chuck Walbourn edited this page May 14, 2024 · 12 revisions

This is a repository for the test suite for DirectXMesh on GitHub.

Setup

  • Install git
  • Install and initialize git-LFS
  • Install CMake, Ninja, and MSVC or clang/LLVM for Windows
git clone https://github.com/walbourn/directxmeshmedia.git
git clone https://github.com/Microsoft/DirectXMesh.git
cd DirectXMesh
git clone https://github.com/walbourn/directxmeshtest.git Tests
git clone https://github.com/Microsoft/DirectXMesh.wiki.git wiki

Create an environment variable DIRECTXMESH_MEDIA_PATH to point to the clone of directxmeshmedia.

Media

Test media is not included in the repository. A copy of these test files are hosted here.

Running tests

CTest is supported

cd DirectXMesh
cmake --preset=x64-Debug
cmake build out\build\x64-Debug
ctest --preset=x64-Debug
Clone this wiki locally