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

This is a repository for the test suite for UVAtlas 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/walbourn/directxtexmedia.git
git clone https://github.com/Microsoft/UVAtlas.git
cd UVAtlas
git clone https://github.com/walbourn/uvatlastest.git Tests
git clone https://github.com/Microsoft/UVAtlas.wiki.git wiki

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

Create an environment variable DIRECTXTEX_MEDIA_PATH to point to the clone of directxtexmedia.

Running tests

CTest is supported

cd UVAtlas
cmake --preset=x64-Debug
cmake build out\build\x64-Debug
ctest --preset=x64-Debug

CMake

The CMake project is set up to use CTest and multi-directory building. To build the test suite, open the 'root' CMakeLists.txt from the UVAtlas library after setting up the directories above.

If using MinGW, the toolset is assumed to be located at c:\mingw32 or c:\mingw64 in the CMakePresets.

Media

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

Clone this wiki locally