mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 19:18:37 +00:00
runtime/cmake/clang-cl-xwin.cmake cross-compiles gta6rt, its shims and tests with clang-cl and lld-link (LLVM 19+) against an MSVC CRT and Windows SDK laid out by xwin, and makes ctest run them through Wine (or Proton's wine). llvm-ml64 stands in for ml64, so the register- preservation check in unimplemented_policy_test runs too. Changes that let a cross build work without a Developer Prompt: - gen_d3d12_stubs.py gets the d3d12.h CMake finds (--header) instead of relying on INCLUDE; without one the COM targets are skipped. - d3d12_trace names the interpreter by path, so ctest doesn't prepend the emulator to Python, and check_d3d12_trace.py starts the fixture through the emulator (--runner). docs/testing.md describes the build and the Wine and Proton runs.