Relative Content

Tag Archive for c++unit-testingcmakecross-compilingcatch2

Cross compiling from Linux to Windows using Catch2 Fails

I’ve a C++ project built using CMake v3.25.0. The project uses Catch2 v3.7.0 for unit testing. For development convenience I’m trying to cross-compile it from Linux to Windows. Following CMake’s cross compilation guideline, I’ve the following windows.cmake file in my project: