Xplatcppwindowsdll Updated May 2026

find_package(xplatcpp 3.0 REQUIRED) xplatcpp_windows_dll( TARGET MyEngine SOURCES engine.cpp PRIVATE_DEFINES _CRT_SECURE_NO_WARNINGS PUBLIC_DEFINES MYENGINE_EXPORTS WINDOWS_VERSIONINFO on LOAD_TIME_PROFILING off # optional, enable for debugging ) The new explicit TARGET and WINDOWS_VERSIONINFO parameters prevent ambiguous parsing. Replace your own export macros with #include <xplatcpp/api.h> and tag public classes/functions with XPLATCPP_PUBLIC .

The updated toolchain integrates clang-cl with the latest Visual Studio 2022 (17.8+) to produce ARM64 DLLs that are up to 35% more efficient in emulated x86 scenarios. The biggest headache—exporting symbols—has been eliminated. The new version introduces a XPLATCPP_PUBLIC macro that works flawlessly across MSVC, Clang, and GCC. xplatcppwindowsdll updated

This article was last updated in April 2026, based on xplatcppwindowsdll version 3.0.0. find_package(xplatcpp 3